|
@@ -321,11 +321,7 @@ var _default = {
|
|
|
var that = this;
|
|
|
try {
|
|
|
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) {
|
|
|
uni.showToast({
|
|
|
title: err.errmsg,
|