|
@@ -45,6 +45,7 @@ const searchList = ref<any>([])
|
|
watch(
|
|
watch(
|
|
() => props.formConfig.formItems,
|
|
() => props.formConfig.formItems,
|
|
val => {
|
|
val => {
|
|
|
|
+ searchList.value = []
|
|
val.forEach((item: any) => {
|
|
val.forEach((item: any) => {
|
|
if (item.group) {
|
|
if (item.group) {
|
|
searchList.value = searchList.value.concat(item.group.filter((item: any) => item.search))
|
|
searchList.value = searchList.value.concat(item.group.filter((item: any) => item.search))
|