diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json new file mode 100644 index 0000000..81f13f4 --- /dev/null +++ b/.hbuilderx/launch.json @@ -0,0 +1,16 @@ +{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/ + // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数 + "version": "0.0", + "configurations": [{ + "default" : + { + "launchtype" : "local" + }, + "mp-weixin" : + { + "launchtype" : "local" + }, + "type" : "uniCloud" + } + ] +} diff --git a/pagesA/force/index/index.vue b/pagesA/force/index/index.vue index e7b856b..1634692 100644 --- a/pagesA/force/index/index.vue +++ b/pagesA/force/index/index.vue @@ -343,9 +343,7 @@ icon: "success", }); setTimeout(() => { - uni.navigateTo({ - url: "/pagesA/force/list/list", - }); + uni.navigateBack(); }, 1500); } else { uni.showToast({ @@ -363,9 +361,7 @@ icon: "success", }); setTimeout(() => { - uni.navigateTo({ - url: "/pagesA/force/list/list", - }); + uni.navigateBack(); }, 1500); } else { uni.showToast({ diff --git a/pagesA/force/list/list.vue b/pagesA/force/list/list.vue index 39576f5..384d94a 100644 --- a/pagesA/force/list/list.vue +++ b/pagesA/force/list/list.vue @@ -57,7 +57,9 @@ export default { }; }, onLoad() { - this.refreshData(); + }, + onShow() { + this.refreshData(); }, methods: { maskPhoneNumber(phoneNumber) {