zhaogongxue 6 months ago
parent
commit
e07caa7af4

+ 0 - 27
main.js

@@ -10,32 +10,6 @@ import messages from "./commont/messages.js";
 Vue.use(VueI18n);
 Vue.config.productionTip = false;
 
-<<<<<<< HEAD
-//获取当前选择语言
-let language = "";
-let i18n;
-uni.getStorage({
-  key: "language", // 这里替换成你要获取的数据的key
-  success: function (res) {
-    language = res.data; // 输出获取到的数据
-	console.log('Vue.prototype',Vue.prototype);
-    Vue.prototype._language = language;
-    // 多国语言包配置
-    i18n = new VueI18n({
-      // locale: language,
-      locale: language,
-      // locale: "en-US",
-      messages,
-    });
-
-    Vue.prototype._i18n = i18n;
-  },
-  fail: function () {
-    // 获取失败的处理逻辑
-  },
-});
-Vue.use(uView);  
-=======
 // 多国语言包配置
 const i18n = new VueI18n({
   locale: uni.getStorageSync("language"),
@@ -46,7 +20,6 @@ Vue.prototype._language = uni.getStorageSync("language");
 Vue.prototype._i18n = i18n;
 
 Vue.use(uView);
->>>>>>> f6a257059fab99246d760d039a6abc0f9eadff27
 App.mpType = "app";
 const app = new Vue({
   i18n,

File diff suppressed because it is too large
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageB/end.js.map


+ 1 - 1
unpackage/dist/dev/mp-weixin/app.wxss

@@ -1,3 +1,3 @@
-
+@import './common/main.wxss';
 
 [data-custom-hidden="true"],[bind-data-custom-hidden="true"]{display: none !important;}

File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/mp-weixin/common/main.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/mp-weixin/common/runtime.js


File diff suppressed because it is too large
+ 0 - 0
unpackage/dist/dev/mp-weixin/common/vendor.js


Some files were not shown because too many files changed in this diff