mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-11 05:11:59 +08:00
parent
efe5f49e9e
commit
b45619fa74
@ -156,6 +156,13 @@ export default {
|
|||||||
withOutColumnNames,
|
withOutColumnNames,
|
||||||
isChangedAllValues: true
|
isChangedAllValues: true
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
addAction(action) {
|
||||||
|
this.$store.dispatch('addAction', {
|
||||||
|
name: action.name,
|
||||||
|
action: action.action,
|
||||||
|
containerUuid: this.metadata.containerUuid
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -68,6 +68,9 @@ const contextMenu = {
|
|||||||
references
|
references
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
addAction({ state }, newAction) {
|
||||||
|
newAction.push(state.contextMenu.actions)
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
* TODO: Verify tableName params to change in constant
|
* TODO: Verify tableName params to change in constant
|
||||||
* @param {number} recordId
|
* @param {number} recordId
|
||||||
|
Loading…
x
Reference in New Issue
Block a user