Commit 620c4ac3 authored by 王玉鑫's avatar 王玉鑫

fix: 列表页名称搜索报错

parent a4bf115d
......@@ -92,9 +92,10 @@ export function useListView<
/**
* 名称搜索
*/
const handleNameSearch = (params: { value: { key: string; value: string }[] }) => {
const handleNameSearch = (params: string) => {
nextTick(() => {
currentName.value = params.value[0].value;
debugger;
currentName.value = params;
if (currentName.value) {
searchParams.value.name = currentName.value;
}
......
......@@ -262,7 +262,7 @@ const industrySupports = computed(() => {
/** 代表企业 */
const enterprises = computed(() => {
return detail.value?.enterprise.split(',') || [];
return detail.value?.enterprise?.split(',') || [];
});
/** 产业园内载体列表 */
......
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