Ver código fonte

修改bug

master
yangpeilai 2 dias atrás
pai
commit
de4d2971ad
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4
    0
      src/store/tabValue.ts

+ 4
- 0
src/store/tabValue.ts Ver arquivo

@@ -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 {

Carregando…
Cancelar
Salvar