Browse Source

始宁农业:商户信息修改

panyong 2 years ago
parent
commit
75ea9a453b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      htmldev/shiningWxMini/pages/businessInfo/businessInfo.js

+ 2 - 2
htmldev/shiningWxMini/pages/businessInfo/businessInfo.js

@@ -376,8 +376,8 @@ Page({
     try {
     try {
       const { status, msg } = await modifyShopInfo(temp)
       const { status, msg } = await modifyShopInfo(temp)
       if (status) {
       if (status) {
-        wx.redirectTo({
-          url: '/pages/businessHome/businessHome'
+        wx.navigateBack({
+          delta: 1
         })
         })
       } else {
       } else {
         console.log(msg)
         console.log(msg)