imeik-imui 2.0.0 → 2.0.2

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.
Binary file
@@ -341,13 +341,16 @@ export default {
341
341
  params: queryParams,
342
342
  signal: this.controller.signal
343
343
  })
344
+ const resData = data ?? []
344
345
 
345
346
  // 如果是搜索请求,过滤包含搜索关键字的选项
346
- if (!queryParams.dicValues && params.name) {
347
- const resData = data ?? []
348
- this.options = resData.filter(item => item[this.attrLabel].includes(params.name))
347
+ if (params.name) {
348
+ const dicValues = queryParams.dicValues
349
+ this.options = resData.filter(item => {
350
+ return item[this.attrLabel].includes(params.name) || dicValues.includes(item[this.attrValue])
351
+ })
349
352
  } else {
350
- this.options = data ?? []
353
+ this.options = resData
351
354
  }
352
355
  } finally {
353
356
  this.loading = false
@@ -3,7 +3,7 @@ import { getService } from './requestTemplate'
3
3
  const baseUrlMap = {
4
4
  development: '//apply-backend-dev.imeik.com',
5
5
  testenv: '//apply-backend-test.imeik.com',
6
- prod: '//apply-backend.imeik.com',
6
+ production: '//apply-backend.imeik.com',
7
7
  pre: '//apply-backend-pre.imeik.com'
8
8
  }
9
9
 
@@ -3,7 +3,7 @@ import { getService } from './requestTemplate'
3
3
  const baseUrlMap = {
4
4
  development: '//tagcenter-backend-dev.imeik.com',
5
5
  testenv: '//tagcenter-backend-test.imeik.com',
6
- prod: '//tagcenter-backend.imeik.com',
6
+ production: '//tagcenter-backend.imeik.com',
7
7
  pre: '//tagcenter-backend-pre.imeik.com'
8
8
  }
9
9
 
@@ -3,7 +3,7 @@ import { getService } from './requestTemplate'
3
3
  const baseUrlMap = {
4
4
  development: '//user-dev.imeik.com',
5
5
  testenv: '//user-test.imeik.com',
6
- prod: '//user.imeik.com',
6
+ production: '//user.imeik.com',
7
7
  pre: '//user-backend-pre.imeik.com'
8
8
  }
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imeik-imui",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "ch_name": "imeik基础UI组件库-PC端",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve --mode dev",