File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
src/components/diboot/components/editTableCell Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " diboot-element-admin" ,
3
- "version" : " 2.6 .0" ,
3
+ "version" : " 2.7 .0" ,
4
4
"description" : " Diboot PC端前端框架(element-ui)" ,
5
5
"author" : " www.diboot.com" ,
6
6
"license" : " MIT" ,
Original file line number Diff line number Diff line change 39
39
/>
40
40
</el-select >
41
41
</template >
42
+ <template v-else-if =" formType === ' M_SELECT' " >
43
+ <el-select
44
+ multiple
45
+ v-model =" tempValue"
46
+ :placeholder =" placeholder"
47
+ filterable
48
+ @change =" changeValue"
49
+ >
50
+ <el-option
51
+ v-for =" (item, index) in options || []"
52
+ :key =" index"
53
+ :value =" item.value"
54
+ :label =" item.label"
55
+ />
56
+ </el-select >
57
+ </template >
42
58
<template v-else-if =" formType === ' SWITCH' " >
43
59
<el-switch v-model =" tempValue" @change =" changeValue" />
44
60
</template >
@@ -105,7 +121,7 @@ export default {
105
121
},
106
122
value: {
107
123
// eslint-disable-next-line vue/require-prop-type-constructor
108
- type: String | Boolean | Number ,
124
+ type: String | Boolean | Number | Array ,
109
125
required: true
110
126
},
111
127
label: {
You can’t perform that action at this time.
0 commit comments