新增删除账号功能
This commit is contained in:
parent
f8f8616221
commit
428718a1ad
|
|
@ -48,7 +48,7 @@
|
|||
content: that.$t("verifyDeleteAccount"),
|
||||
success: function(res) {
|
||||
if (res.confirm) {
|
||||
that.$model.getdeleteAccount({}).then((res) => {
|
||||
that.$model.getDeleteAccount({}).then((res) => {
|
||||
if (res.code != 0) return
|
||||
that.$tools.msg($t('msgDelete'));
|
||||
uni.setStorageSync('token', null)
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -209,7 +209,7 @@ var _default = {
|
|||
content: that.$t("verifyDeleteAccount"),
|
||||
success: function success(res) {
|
||||
if (res.confirm) {
|
||||
that.$model.getdeleteAccount({}).then(function (res) {
|
||||
that.$model.getDeleteAccount({}).then(function (res) {
|
||||
if (res.code != 0) return;
|
||||
that.$tools.msg($t('msgDelete'));
|
||||
uni.setStorageSync('token', null);
|
||||
|
|
|
|||
Loading…
Reference in New Issue