浏览代码

bug 修复

lilei 2 年之前
父节点
当前提交
0658933df9
共有 2 个文件被更改,包括 7 次插入2 次删除
  1. 1 1
      public/version.json
  2. 6 1
      src/layouts/BasicLayout.vue

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1664271762228
+  "version": 1664336433825
 }

+ 6 - 1
src/layouts/BasicLayout.vue

@@ -387,7 +387,12 @@ export default {
       }
       // 货架异常
       if (data.notice.extInfo.bizType == 'SHELF_WARN') {
-        this.$router.push({ name: 'shelfOrderList', query: { bizType: 'SHELF_WARN', shelfSn: data.notice.extInfo.bizSn } })
+        if (this.nowRoute.indexOf('numsGoodsShelves/shelfOrder/list') >= 0) {
+          this.$router.go(-1)
+        }
+        setTimeout(() => {
+          this.$router.push({ name: 'shelfOrderList', query: { bizType: 'SHELF_WARN', shelfSn: data.notice.extInfo.bizSn } })
+        }, 500)
       }
       // 设置已读
       this.setRead(data)