语言适配
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
</div>
|
||||
<div class="habitSetStyle_content" v-hoverAnmi>
|
||||
<div class="modal_title_text">
|
||||
<div>Style</div>
|
||||
<div>{{ $t('Habit.Style') }}</div>
|
||||
<div class="modal_title_text_intro"></div>
|
||||
</div>
|
||||
<div class="habitSetStyle_content_bottom">
|
||||
@@ -34,7 +34,7 @@
|
||||
OK
|
||||
</div>
|
||||
<div class="started_btn" @click="setClear()">
|
||||
Clear
|
||||
{{ $t('Habit.Clear') }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -55,7 +55,7 @@ import { Https } from "@/tool/https";
|
||||
import { getCookie,setCookie } from "@/tool/cookie";
|
||||
// import domTurnImg from '@/tool/domTurnImg'
|
||||
import { downloadIamge } from "@/tool/util";
|
||||
|
||||
import { useI18n } from "vue-i18n";
|
||||
export default defineComponent({
|
||||
emits:['setParentData','setWorkspaceStyle'],
|
||||
|
||||
@@ -72,6 +72,7 @@ setup(props,{emit}) {
|
||||
selectStyleName:'',
|
||||
isShowMark:false,
|
||||
})
|
||||
const {t} = useI18n()
|
||||
let getStyleList = ()=>{
|
||||
habitSetStyleData.isShowMark = true
|
||||
Https.axiosPost(Https.httpUrls.getStyleList, {}).then(
|
||||
@@ -127,7 +128,7 @@ setup(props,{emit}) {
|
||||
}else{
|
||||
let _this = this
|
||||
Modal.confirm({
|
||||
title: 'It is detected that you have modified the style, may I ask whether the model is changed to the model corresponding to the style',
|
||||
title: t('Habit.jsContent3'),
|
||||
icon: createVNode(ExclamationCircleOutlined),
|
||||
okText: 'Yes',
|
||||
cancelText: 'No',
|
||||
|
||||
Reference in New Issue
Block a user