Commit 63a3f1e1e1211d663bbac14d63022cfee0add05e

Authored by loveumiko
1 parent 885b10be

fix: 云端场景联动组织搜索未生效

@@ -71,10 +71,10 @@ @@ -71,10 +71,10 @@
71 if (!value) { 71 if (!value) {
72 return true; 72 return true;
73 } 73 }
74 - let { name } = props || {}; 74 + let { title } = props || {};
75 value = value.toLowerCase(); 75 value = value.toLowerCase();
76 - name = name.toLowerCase();  
77 - return name.includes(value); 76 + title = title.toLowerCase();
  77 + return title.includes(value);
78 } 78 }
79 79
80 async function fetch() { 80 async function fetch() {
@@ -7,10 +7,10 @@ export const createOrganizationSearch = () => { @@ -7,10 +7,10 @@ export const createOrganizationSearch = () => {
7 if (!value) { 7 if (!value) {
8 return true; 8 return true;
9 } 9 }
10 - let { name } = props || {}; 10 + let { title } = props || {};
11 value = value?.toLowerCase(); 11 value = value?.toLowerCase();
12 - name = name?.toLowerCase();  
13 - return name.includes(value); 12 + title = title?.toLowerCase();
  13 + return title.includes(value);
14 }, 14 },
15 }; 15 };
16 }; 16 };