瀏覽代碼

修改bug

master
yangpeilai 1 天之前
父節點
當前提交
de4d2971ad
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. 4
    0
      src/store/tabValue.ts

+ 4
- 0
src/store/tabValue.ts 查看文件

@@ -31,6 +31,10 @@ export default createStore<any>({
actions: {
//添加tab
addTab: function (context, value) {
if(!value){
console.log('参数错误', value)
return
}
if (value.type === 1) {
context.commit('AddTab', value.data)
} else {

Loading…
取消
儲存