fix(仪表板): 修复公共链接外部参数不支持动态时间组件问题

This commit is contained in:
wangjiahao 2024-04-01 13:11:14 +08:00
parent 17a6f5a1ab
commit 42874e2998

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