|
@@ -2,7 +2,7 @@
|
|
|
<ScrollContainer>
|
|
|
<div ref="wrapperRef" :class="prefixCls">
|
|
|
<div style="text-align: right;padding:20px;">
|
|
|
- <a-button type="primary" @click="routerGo">返回</a-button>
|
|
|
+ <a-button type="primary" @click="routerGo">{{t('common.back')}}</a-button>
|
|
|
</div>
|
|
|
<Tabs tab-position="left" :tabBarStyle="tabBarStyle">
|
|
|
<template v-for="item in settingList" :key="item.key">
|
|
@@ -27,7 +27,7 @@
|
|
|
// import Product from '../product/index.vue';
|
|
|
// import Product from '/@/views/productOperation/cameraScene.vue';
|
|
|
import { otherInfoStore } from '/@/store/modules/other';
|
|
|
-
|
|
|
+ import { useI18n } from '/@/hooks/web/useI18n';
|
|
|
export default defineComponent({
|
|
|
components: {
|
|
|
ScrollContainer,
|
|
@@ -38,6 +38,7 @@
|
|
|
// Product,
|
|
|
},
|
|
|
setup() {
|
|
|
+ const { t } = useI18n();
|
|
|
const router = useRouter();
|
|
|
const otherInfo = otherInfoStore();
|
|
|
const OverviewInfo = computed(() => otherInfo.getOverviewInfo);
|
|
@@ -50,6 +51,7 @@
|
|
|
prefixCls: 'account-setting Level2Tab',
|
|
|
settingList,
|
|
|
userName,
|
|
|
+ t,
|
|
|
tabBarStyle: {
|
|
|
width: '220px',
|
|
|
},
|