语言适配
This commit is contained in:
@@ -57,11 +57,11 @@
|
||||
</div>
|
||||
<div class="habit_Overal_Single habit_style">
|
||||
<div class="habit_style_left">
|
||||
<div>Style:</div>
|
||||
<div>{{ $t('Habit.Style') }}:</div>
|
||||
<span :title="workspaceItem.styleName">{{ workspaceItem.styleName }}</span>
|
||||
</div>
|
||||
<!-- <div class="button_second">选择</div> -->
|
||||
<div class="started_btn" @click="setStyle">选择</div>
|
||||
<div class="started_btn" @click="setStyle">{{ $t('Habit.Select') }}</div>
|
||||
</div>
|
||||
<div class="habit_Overal_Single">
|
||||
<div
|
||||
@@ -596,7 +596,7 @@ export default defineComponent({
|
||||
//
|
||||
setOverallSingle(){
|
||||
if(this.workspaceItem.overallSingle){
|
||||
this.workspaceItem.position = this.singleTypeList[0].name
|
||||
this.workspaceItem.position = this.singleTypeList[0].value
|
||||
this.workspaceItem.positionEnum = this.singleTypeList[0]
|
||||
}else{
|
||||
this.workspaceItem.position = 'Overall'
|
||||
@@ -707,7 +707,7 @@ export default defineComponent({
|
||||
//设置single & overall
|
||||
setSingle(v:any){
|
||||
this.openType.singleton = false
|
||||
this.workspaceItem.position = v.name
|
||||
this.workspaceItem.position = v.value
|
||||
this.workspaceItem.positionEnum = v
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user