Merge pull request #8821 from dataease/pr@dev@fix_panel-timer

fix(仪表板): 修复公共链接外部参数不支持动态时间组件问题
This commit is contained in:
王嘉豪 2024-04-01 13:12:56 +08:00 committed by GitHub
commit ba82e99ce9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -539,6 +539,10 @@ const data = {
if (element.options.manualModify) {
element.options.manualModify = false
}
// 去掉动态时间
if (element.options.attrs?.default?.isDynamic) {
element.options.attrs.default.isDynamic = false
}
// 去掉首选项
if (element.options?.attrs?.selectFirst) {
element.options.attrs.selectFirst = false