发布需求页面增加关闭提示

This commit is contained in:
TOP糯米 2023-02-22 21:38:17 +08:00
parent 6076b33e73
commit 6bedd1aad2
1 changed files with 7 additions and 1 deletions

View File

@ -319,7 +319,13 @@ export default {
config: (state) => state.system.config, config: (state) => state.system.config,
}), }),
}, },
onLoad() {}, onLoad() {
// #ifdef MP-WEIXIN
uni.enableAlertBeforeUnload({
message: "需求尚未发布,确定离开?"
});
// #endif
},
onShow() {}, onShow() {},
onReady() {}, onReady() {},
onReachBottom() {}, onReachBottom() {},