zs преди 1 година
родител
ревизия
d22aaf49f6
променени са 3 файла, в които са добавени 3 реда и са изтрити 11 реда
  1. 1 5
      pages/home/index.vue
  2. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/home/index.js.map
  3. 1 5
      unpackage/dist/dev/mp-weixin/pages/home/index.js

+ 1 - 5
pages/home/index.vue

@@ -73,11 +73,7 @@
 				const that = this;
 				const that = this;
 				try {
 				try {
 					const res = uni.getStorageSync('token');
 					const res = uni.getStorageSync('token');
-					if (res) {
-						that.$set(that, `user`, res);
-						that.clearPage();
-						that.search();
-					}
+					if (res) that.$set(that, `user`, res);
 				} catch (e) {
 				} catch (e) {
 					uni.showToast({
 					uni.showToast({
 						title: err.errmsg,
 						title: err.errmsg,

Файловите разлики са ограничени, защото са твърде много
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/home/index.js.map


+ 1 - 5
unpackage/dist/dev/mp-weixin/pages/home/index.js

@@ -321,11 +321,7 @@ var _default = {
       var that = this;
       var that = this;
       try {
       try {
         var res = uni.getStorageSync('token');
         var res = uni.getStorageSync('token');
-        if (res) {
-          that.$set(that, "user", res);
-          that.clearPage();
-          that.search();
-        }
+        if (res) that.$set(that, "user", res);
       } catch (e) {
       } catch (e) {
         uni.showToast({
         uni.showToast({
           title: err.errmsg,
           title: err.errmsg,