fix: 修复文件URL处理并临时禁用权限检查
- 恢复文件URL路径前自动添加斜杠的功能 - 临时注释掉大屏设计和运行页面的权限检查逻辑 - 临时注释掉画布背景颜色的动态设置
This commit is contained in:
@@ -76,7 +76,7 @@ export default {
|
||||
// 画布样式
|
||||
canvasStyle() {
|
||||
return {
|
||||
backgroundColor: this.fitPageConfig.customTheme === 'light' ? this.fitPageConfig.lightBgColor : this.fitPageConfig.bgColor,
|
||||
// backgroundColor: this.fitPageConfig.customTheme === 'light' ? this.fitPageConfig.lightBgColor : this.fitPageConfig.bgColor,
|
||||
transform: `scale(${this.scale}) translate(${this.translateX}px, ${this.translateY}px)`,
|
||||
transformOrigin: '0 0'
|
||||
};
|
||||
@@ -279,12 +279,12 @@ export default {
|
||||
})
|
||||
},
|
||||
permission() {
|
||||
this.$dataRoomAxios.get(`/bigScreen/permission/check/${this.pageCode}`).then(res => {
|
||||
this.hasPermission = res
|
||||
if (res) {
|
||||
// this.$dataRoomAxios.get(`/bigScreen/permission/check/${this.pageCode}`).then(res => {
|
||||
this.hasPermission = true
|
||||
// if (res) {
|
||||
this.init()
|
||||
}
|
||||
})
|
||||
// }
|
||||
// })
|
||||
},
|
||||
init() {
|
||||
if (!this.pageCode) { return }
|
||||
|
||||
Reference in New Issue
Block a user