shish il y a 4 ans
Parent
commit
3de64e1c34
2 fichiers modifiés avec 3 ajouts et 6 suppressions
  1. 1 1
      ghsApp/src/admin/clear/customOrderItem.vue
  2. 2 5
      ghsApp/src/admin/home/me.vue

+ 1 - 1
ghsApp/src/admin/clear/customOrderItem.vue

@@ -23,7 +23,7 @@
 				</view>
 			</view>
 			<view class="item-price"
-				>¥{{ info.realPrice }} <text class="iconfont iconxiangyou"></text>
+				>¥{{ info.realPrice?parseFloat(info.realPrice):0 }} <text class="iconfont iconxiangyou"></text>
 			</view>
 		</view>
 		

+ 2 - 5
ghsApp/src/admin/home/me.vue

@@ -207,12 +207,12 @@ export default {
     },
     // #endif
     async selectShopFn (val) {
-      uni.showLoading({ title: "加载中", })
-      try {
+      uni.showLoading({mask:true})
         await toggleShop({ shopId: val.id })
         //有多处相似地方,请全项目搜索about_store_clear
         // #ifdef MP-WEIXIN
         this.$store.commit("setLoginInfo", {})
+        this.$store.commit("setMyShopInfo", {})
         this.$util.pageTo({url: "/admin/home/me",type: 3})
         // #endif
         // #ifdef APP-PLUS
@@ -222,9 +222,6 @@ export default {
         plus.runtime.restart()
         // #endif
         getShopInfo(true)
-      } finally {
-        uni.hideLoading();
-      }
     },
     checkToApplyCash () {
       let that = this;