新增删除账号功能

This commit is contained in:
qcl_123 2026-02-10 12:03:04 +08:00
parent 61a28bfcc1
commit e6ece87ac2
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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"));
}
}
});