fix: 修复预览兼容

This commit is contained in:
sudoooooo 2024-06-24 16:13:44 +08:00
parent f7e5995add
commit a7fa577837

View File

@ -58,6 +58,7 @@ const questionConfig = computed(() => {
} }
if ( if (
RATES.includes(type) && RATES.includes(type) &&
rest.rangeConfig &&
Object.keys(rest.rangeConfig).filter((index) => rest.rangeConfig[index].isShowInput).length > 0 Object.keys(rest.rangeConfig).filter((index) => rest.rangeConfig[index].isShowInput).length > 0
) { ) {
let { rangeConfig, othersValue } = useShowInput(field) let { rangeConfig, othersValue } = useShowInput(field)