课程创建角色可以直接发布课程&&sockjs恢复版本

This commit is contained in:
fan 2020-06-22 10:49:41 +08:00
parent ab6b0036d2
commit 5cfec3e09f
3 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@
"recordrtc": "^5.5.9",
"script-loader": "^0.7.2",
"sessionstorage": "^0.1.0",
"sockjs-client": "^1.0.0",
"sockjs-client": "^1.4.0",
"stompjs": "^2.3.3",
"storejs": "^1.0.25",
"three": "^0.107.0",

View File

@ -140,7 +140,7 @@ export default {
},
hasRelease() {
return this.$store.state.user.roles.includes('04') ||
this.$store.state.user.roles.includes('05');
this.$store.state.user.roles.includes('05') || this.$store.state.user.roles.includes('03');
}
},
watch: {

View File

@ -76,7 +76,7 @@ export default {
},
hasRelease() {
return this.$store.state.user.roles.includes('04') ||
this.$store.state.user.roles.includes('05');
this.$store.state.user.roles.includes('05') || this.$store.state.user.roles.includes('03');
},
isProject() {
return getSessionStorage('project').endsWith('gzb');