新增删除账号功能
This commit is contained in:
parent
61a28bfcc1
commit
e6ece87ac2
|
|
@ -52,7 +52,7 @@
|
|||
code: that.code
|
||||
}).then((res) => {
|
||||
if (res.code != 0) return
|
||||
that.$tools.msg($t('msgDelete'));
|
||||
that.$tools.msg(that.$t('msgDelete'));
|
||||
uni.setStorageSync('token', null)
|
||||
uni.setStorageSync('aan_id', null)
|
||||
uni.clearStorageSync()
|
||||
|
|
@ -63,7 +63,7 @@
|
|||
}, 3000);
|
||||
})
|
||||
} else if (res.cancel) {
|
||||
that.$tools.msg($t("msgCancel"));
|
||||
that.$tools.msg(that.$t("msgCancel"));
|
||||
}
|
||||
},
|
||||
})
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -213,7 +213,7 @@ var _default = {
|
|||
code: that.code
|
||||
}).then(function (res) {
|
||||
if (res.code != 0) return;
|
||||
that.$tools.msg($t('msgDelete'));
|
||||
that.$tools.msg(that.$t('msgDelete'));
|
||||
uni.setStorageSync('token', null);
|
||||
uni.setStorageSync('aan_id', null);
|
||||
uni.clearStorageSync();
|
||||
|
|
@ -224,7 +224,7 @@ var _default = {
|
|||
}, 3000);
|
||||
});
|
||||
} else if (res.cancel) {
|
||||
that.$tools.msg($t("msgCancel"));
|
||||
that.$tools.msg(that.$t("msgCancel"));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue