Commit 3c3f6b6e authored by 何远江's avatar 何远江

bug 修改

parent 653a7eb6
......@@ -194,8 +194,11 @@ watch(
watch(
() => props.item.filterFiled,
(val) => {
if (!props.item?.filterScripts) {
props.item.filterScripts = []
}
// 如果有值,添加脚本
if (val && props.item.filterScripts.length == 0) {
if (val && props.item.filterScripts?.length == 0) {
props.item.filterScripts.push({
content: '',
scriptName: ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment