fix: 修正布尔选项字典值从0改为-1以保持一致性
This commit is contained in:
@@ -340,7 +340,7 @@ const state = reactive({
|
|||||||
const boolOptions = [
|
const boolOptions = [
|
||||||
{ dictLabel: '全部', dictValue: -2, listClass: 'success' },
|
{ dictLabel: '全部', dictValue: -2, listClass: 'success' },
|
||||||
{ dictLabel: '是', dictValue: 1, listClass: 'success' },
|
{ dictLabel: '是', dictValue: 1, listClass: 'success' },
|
||||||
{ dictLabel: '否', dictValue: 0, listClass: 'info' }
|
{ dictLabel: '否', dictValue: -1, listClass: 'info' }
|
||||||
]
|
]
|
||||||
|
|
||||||
const { form, rules, options } = toRefs(state)
|
const { form, rules, options } = toRefs(state)
|
||||||
|
|||||||
Reference in New Issue
Block a user