diff --git a/feature/package.json b/feature/package.json
index 3aa3859..6780aa8 100644
--- a/feature/package.json
+++ b/feature/package.json
@@ -18,6 +18,7 @@
"markdown-it": "^12.2.0",
"nanoid": "^4.0.2",
"vue": "3.2.45",
+ "vue-i18n": "^9.2.2",
"vue-router": "^4.0.0-0",
"vuex": "^4.0.0-0"
},
diff --git a/feature/src/App.vue b/feature/src/App.vue
index f7e4069..fd3d0ea 100644
--- a/feature/src/App.vue
+++ b/feature/src/App.vue
@@ -10,25 +10,25 @@
- 插件市场
+ {{ $t('feature.market.title') }}
- 已安装
+ {{ $t('feature.installed.title') }}
- 账户与设置
+ {{ $t('feature.settings.title') }}
- 开发者
+ {{ $t('feature.dev.title') }}
@@ -37,18 +37,18 @@
\ No newline at end of file
+
diff --git a/feature/src/views/settings/user.vue b/feature/src/views/settings/user.vue
index 4361525..5c52e7b 100644
--- a/feature/src/views/settings/user.vue
+++ b/feature/src/views/settings/user.vue
@@ -41,7 +41,7 @@ const visible = ref(false);
const showModal = () => {
visible.value = true;
if (!imgCode.value && !userInfo.value) {
- service.getScanCode({ scene }).then(res => {
+ service.getScanCode({ scene }).then((res) => {
imgCode.value = `data:image/png;base64,${res.dataUrl}`;
});
}
@@ -68,7 +68,6 @@ watch([visible], () => {
timer = null;
}
});
-