fix(custom): 修复若干bug
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-06-29 11:24:40 +08:00
parent 5c45854e2c
commit 1566eae251
10 changed files with 94 additions and 27 deletions

View File

@@ -168,6 +168,11 @@ const create_order = async () => {
icon: 'none',
});
} catch (e) {
if (e.msg === '请先设置交易密码') {
Taro.navigateTo({
url: '/pages/users/pwd/index',
});
}
Taro.showToast({
title: e.msg,
icon: 'none',