剧本编制代码调整
This commit is contained in:
parent
b85362460e
commit
0f7cdb2b8e
@ -57,7 +57,9 @@ const scriptRecord = {
|
||||
state.scriptCommand = scriptCommand;
|
||||
},
|
||||
updateRole:(state, userRole) => {
|
||||
if (state.userRole == userRole) {
|
||||
state.updateRoleStatus += 1;
|
||||
}
|
||||
state.userRole = userRole;
|
||||
},
|
||||
updateCoversitionInfo:(state) => {
|
||||
|
@ -134,8 +134,10 @@ export default {
|
||||
},
|
||||
'userRole':function(val) {
|
||||
this.isHasCoversition = false;
|
||||
},
|
||||
'$store.state.scriptRecord.updateCoversitionStatus':function(val) {
|
||||
this.isHasCoversition = false;
|
||||
}
|
||||
// updateCoversitionStatus
|
||||
},
|
||||
mounted() {
|
||||
this.initPage();
|
||||
|
@ -30,10 +30,10 @@ export default {
|
||||
watch:{
|
||||
'userRole':function(val) {
|
||||
this.initPage(true);
|
||||
},
|
||||
'$store.state.scriptRecord.updateRoleStatus':function(val) {
|
||||
this.initPage(true);
|
||||
}
|
||||
// '$store.state.scriptRecord.updateRoleStatus':function(val) {
|
||||
// this.initPage(true);
|
||||
// }
|
||||
},
|
||||
mounted() {
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user