Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Registro
Iniciar sesión
qiubinghui
/
zhywpt-web
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Peticiones pull
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
修改bug
master
yangpeilai
hace 1 día
padre
014cd8f19a
commit
de4d2971ad
Se han
modificado 1 ficheros
con
4 adiciones
y
0 borrados
Dividir vista
Mostrar estadísticas de diff
4
0
src/store/tabValue.ts
+ 4
- 0
src/store/tabValue.ts
Ver fichero
@@ -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 {
Escribir
Vista previa
Cargando…
Cancelar
Guardar