Merge pull request #12312 from dataease/pr@dev-v2@fix_browser-refresh

fix(仪表板、数据大屏): 修复部分仪表板整体刷新设置无效问题
This commit is contained in:
王嘉豪 2024-09-19 21:51:11 +08:00 committed by GitHub
commit d7ed7300cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -76,7 +76,7 @@
<el-checkbox
:effect="themes"
size="small"
v-model="canvasStyleData.refreshViewBrowserEnable"
v-model="canvasStyleData.refreshBrowserEnable"
@change="themeChange"
>
整体刷新

View File

@ -219,7 +219,9 @@ export function historyAdaptor(
canvasStyleResult.component['seniorStyleSetting'] || deepCopy(SENIOR_STYLE_SETTING_LIGHT)
canvasStyleResult['screenAdaptor'] = canvasStyleResult['screenAdaptor'] || 'widthFirst'
canvasStyleResult['refreshBrowserEnable'] =
canvasStyleResult['refreshBrowserEnable'] !== undefined
canvasStyleResult['refreshBrowserEnable'] === undefined
? false
: canvasStyleResult['refreshBrowserEnable']
canvasStyleResult['refreshBrowserUnit'] = canvasStyleResult['refreshBrowserUnit'] || 'minute'
canvasStyleResult['refreshBrowserTime'] = canvasStyleResult['refreshBrowserTime'] || 5
// 同步宽高比例(大屏使用)