Sanakey
2021-07-09 3fc241d02fb8b671289de3d9d80bf848349c04d4
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);