Browse Source

Merge branch 'dev_YWQ' into dev

master
HolyKnightIX 1 year ago
parent
commit
5c94fb7cfd
1 changed files with 12 additions and 3 deletions
  1. +12
    -3
      src/pages/index/index.vue

+ 12
- 3
src/pages/index/index.vue View File

@@ -49,9 +49,18 @@ function toCreate() {
url: "/pages/uploadPhoto/uploadPhoto",
});
} else {
uni.showToast({
title: "请先同意用户协议",
icon: "none",
uni.showModal({
title: "提示",
content: "同意慧图相机用户使用协议?",
success: function (res) {
if (res.confirm) {
handleLogin();
uni.redirectTo({
url: "/pages/uploadPhoto/uploadPhoto",
});
} else if (res.cancel) {
}
},
});
}
}


Loading…
Cancel
Save