pages/storeEdit/storeEdit.ts
@@ -260,7 +260,7 @@ // }); // wx.navigateBack(); // }, onSave(){ onSave:wx.$utils.debounce(function(this:any){ let location = this.data.location; if (!location) { wx.showToast({ @@ -284,7 +284,7 @@ }) console.log('....提交成功'); this.saveStore(); }, }), onShow(){ const location = chooseLocation.getLocation(); // 如果点击确认选点按钮,则返回选点结果对象,否则返回null console.log(location);