From 18ea8a4366bc212d5b8260ae289d4db6393df4fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Thu, 21 Oct 2021 15:48:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=AD=E8=A8=80=E8=AE=BE=E5=AE=9A=E5=B0=8F?= =?UTF-8?q?=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/main.js | 2 + .../views/lili-components/i18n-translate.vue | 51 +++++++++++++++++++ seller/src/main.js | 3 +- .../views/lili-components/i18n-translate.vue | 51 +++++++++++++++++++ 4 files changed, 106 insertions(+), 1 deletion(-) create mode 100644 manager/src/views/lili-components/i18n-translate.vue create mode 100644 seller/src/views/lili-components/i18n-translate.vue diff --git a/manager/src/main.js b/manager/src/main.js index cd54c5b1..a136e6b6 100644 --- a/manager/src/main.js +++ b/manager/src/main.js @@ -18,6 +18,7 @@ import util from '@/libs/util' import * as filters from '@/utils/filters' // global filter import liliDialog from '@/views/lili-dialog' +import i18nBox from '@/views/lili-components/i18n-translate' import {md5} from '@/utils/md5.js'; Vue.config.devtools = true; Vue.config.productionTip = false @@ -35,6 +36,7 @@ Vue.use(ViewUI, { }); Vue.component('liliDialog',liliDialog) +Vue.component('i18nBox',i18nBox) diff --git a/manager/src/views/lili-components/i18n-translate.vue b/manager/src/views/lili-components/i18n-translate.vue new file mode 100644 index 00000000..1ff68403 --- /dev/null +++ b/manager/src/views/lili-components/i18n-translate.vue @@ -0,0 +1,51 @@ + + + + + \ No newline at end of file diff --git a/seller/src/main.js b/seller/src/main.js index 371d9c06..5d9c5016 100644 --- a/seller/src/main.js +++ b/seller/src/main.js @@ -18,6 +18,7 @@ import { } from "@/libs/axios"; import { setStore, getStore, removeStore } from "@/libs/storage"; +import i18nBox from '@/views/lili-components/i18n-translate' import util from "@/libs/util"; @@ -34,7 +35,7 @@ Vue.use(VueLazyload, { }); Vue.use(ViewUI); - +Vue.component('i18nBox',i18nBox) Vue.component("vue-qr", vueQr); //此处将vue-qr添加为全局组件 // 挂载全局使用的方法 diff --git a/seller/src/views/lili-components/i18n-translate.vue b/seller/src/views/lili-components/i18n-translate.vue new file mode 100644 index 00000000..1ff68403 --- /dev/null +++ b/seller/src/views/lili-components/i18n-translate.vue @@ -0,0 +1,51 @@ + + + + + \ No newline at end of file