@bsgoal/common 2.14.1 → 2.14.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bsgoal/common",
3
- "version": "2.14.1",
3
+ "version": "2.14.2",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -2,7 +2,7 @@
2
2
  * @Author: canlong.shen
3
3
  * @Date: 2023-04-10 15:00:00
4
4
  * @LastEditors: canlong.shen
5
- * @LastEditTime: 2023-05-31 17:43:54
5
+ * @LastEditTime: 2023-06-26 09:20:07
6
6
  * @FilePath: \common\src\components\bsgoal-base-form\demo.vue
7
7
  * @Description: 表单公共组件演示组件
8
8
  *
@@ -121,9 +121,10 @@ const configOptions = ref([
121
121
  },
122
122
  {
123
123
  label: 'prop2',
124
- value: 'select2',
124
+ value: [],
125
125
  type: ComponentTypeEnums.SELECT,
126
126
  prop: 'prop2',
127
+ multiple:true,
127
128
  range: [
128
129
  {
129
130
  label: 'select1',
@@ -142,7 +143,6 @@ const configOptions = ref([
142
143
  value: 'select5'
143
144
  }
144
145
  ],
145
- readonly: true
146
146
  },
147
147
  {
148
148
  label: 'prop3',
@@ -440,6 +440,7 @@ defineExpose({
440
440
  limit = limits,
441
441
  length = 255,
442
442
  visible = true,
443
+ multiple= false,
443
444
  formatter = (v) => {
444
445
  return v
445
446
  },
@@ -509,6 +510,7 @@ defineExpose({
509
510
  <template v-if="type === ComponentTypeEnums.SELECT">
510
511
  <el-select
511
512
  v-model="model[prop]"
513
+ :multiple="multiple"
512
514
  :placeholder="placeholderSet(type, label, placeholder)"
513
515
  @change="triggerValueChange(type, prop)"
514
516
  >
@@ -17,11 +17,21 @@ import baseDirective from '../../directives/directiveBase.js'
17
17
  import BsgoalBaseLine from '../bsgoal-base-line/index.vue'
18
18
  import BsgoalBaseSearchOperation from '../bsgoal-base-search-operation/index.vue'
19
19
  import BsgoalBaseCascader from '../bsgoal-base-cascader/index.vue'
20
+
21
+
22
+
20
23
  defineOptions({
21
24
  name: 'BsgoalBaseSearch'
22
25
  })
23
26
 
24
27
  const props = defineProps({
28
+
29
+
30
+
31
+
32
+
33
+
34
+
25
35
  /**
26
36
  * >----------props----------<
27
37
  * {