ソースを参照

小菊记忆问题

shish 4 年 前
コミット
2e0242c930
1 ファイル変更3 行追加2 行削除
  1. 3 2
      hdApp/src/pagesPurchase/order.vue

+ 3 - 2
hdApp/src/pagesPurchase/order.vue

@@ -87,8 +87,9 @@ export default {
   methods: {
     enter (item) {
       const { id } = item
-					uni.navigateTo({url:`/pagesPurchase/ghsProduct?id=${id}`, type: 2 })
-      // this.pageTo({ url: `/pagesPurchase/ghsProduct?id=${id}`, type: 2 })
+			uni.navigateTo({url:`/pagesPurchase/ghsProduct?id=${id}`, type: 2 })
+      //采购整体没有记忆功能,进入时将小菊记忆删除
+      uni.removeStorageSync("ghsXj"+id)
     },
     init() {
       this.getGHSList()