@ebiz/designer-components 0.0.18-beta.21 → 0.0.18-beta.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebiz/designer-components",
3
- "version": "0.0.18-beta.21",
3
+ "version": "0.0.18-beta.23",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -41,7 +41,9 @@ const props = defineProps({
41
41
  */
42
42
  queryParams: {
43
43
  type: Object,
44
- default: () => ({})
44
+ default: () => ({
45
+ name: ''
46
+ })
45
47
  },
46
48
  /**
47
49
  * 是否多选
@@ -146,15 +148,18 @@ defineExpose({
146
148
  // 远程搜索处理函数
147
149
  const handleRemoteSearch = async (keyword) => {
148
150
  loading.value = true;
149
- console.log('handleRemoteSearch', keyword);
150
151
  try {
151
152
  const params = {
152
153
  queryParams: {
153
154
  ...queryParams.value,
154
- keyword
155
+ name: keyword
155
156
  }
156
157
  };
157
- const res = await dataService.fetch(params, props.apiConfig);
158
+ const res = await dataService.fetch(params, {
159
+ key: props.apiConfig.key,
160
+ apiId: props.apiConfig.apiId,
161
+ apiType: 'MULTIPLE_DATA_SEARCH'
162
+ });
158
163
  const { labelField, valueField } = props.optionsConfig;
159
164
 
160
165
  options.value = res.data.map(item => ({