File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 26
26
<el-radio-group v-model =" formData.status" >
27
27
<el-radio
28
28
v-for =" dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
29
- :key =" dict.value"
29
+ :key =" dict.value as number "
30
30
:label =" dict.value"
31
31
>
32
32
{{ dict.label }}
Original file line number Diff line number Diff line change 23
23
<el-select v-model =" queryParams.status" placeholder =" 请选择状态" clearable class =" !w-240px" >
24
24
<el-option
25
25
v-for =" dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
26
- :key =" dict.value"
26
+ :key =" dict.value as number "
27
27
:label =" dict.label"
28
28
:value =" dict.value"
29
29
/>
@@ -137,7 +137,7 @@ const queryParams = reactive({
137
137
pageNo: 1 ,
138
138
pageSize: 10 ,
139
139
name: null ,
140
- status: null
140
+ status: undefined
141
141
})
142
142
const queryFormRef = ref () // 搜索的表单
143
143
Original file line number Diff line number Diff line change 28
28
>
29
29
<el-option
30
30
v-for =" dict in getIntDictOptions(DICT_TYPE.USER_TYPE)"
31
- :key =" dict.value"
31
+ :key =" dict.value as number "
32
32
:label =" dict.label"
33
33
:value =" dict.value"
34
34
/>
@@ -115,7 +115,7 @@ const queryParams = reactive({
115
115
pageNo: 1 ,
116
116
pageSize: 10 ,
117
117
userId: null ,
118
- userType: null ,
118
+ userType: undefined ,
119
119
clientId: null
120
120
})
121
121
const queryFormRef = ref () // 搜索的表单
You can’t perform that action at this time.
0 commit comments