RuoYi
2020-05-07 9d0309489cd91b3f0b05d56394ccd7d45244abe9
修复页签变量undefined
已修改1个文件
1 ■■■■ 文件已修改
ruoyi-ui/src/store/modules/tagsView.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/store/modules/tagsView.js
@@ -38,6 +38,7 @@
    })
  },
  DEL_OTHERS_CACHED_VIEWS: (state, view) => {
    const index = state.cachedViews.indexOf(view.name)
    if (index > -1) {
      state.cachedViews = state.cachedViews.slice(index, index + 1)
    } else {