fix: 自测问题修复。
This commit is contained in:
@@ -87,12 +87,12 @@ const data = reactive({
|
||||
queryParams: {
|
||||
name: null,
|
||||
type: '3'
|
||||
}
|
||||
}
|
||||
})
|
||||
const { filterPanel, queryParams} = toRefs(data)
|
||||
const windowHeight = computed(() => {
|
||||
uni.getSystemInfoSync().windowHeight - 50
|
||||
})
|
||||
})
|
||||
onLoad(() => {
|
||||
getDict()
|
||||
getList()
|
||||
@@ -153,7 +153,7 @@ function dictStr(val, arr) {
|
||||
return str
|
||||
}
|
||||
function selectStatus(item) {
|
||||
queryParams.value.debitType = item.dictValue
|
||||
queryParams.value.lendType = item.dictValue
|
||||
lendTypeList.value.map(ele => {
|
||||
if (ele.dictValue == item.dictValue) {
|
||||
ele.selected = true
|
||||
@@ -177,6 +177,7 @@ function selectStatus(item) {
|
||||
function resetQuery() {
|
||||
queryParams.value.name = '',
|
||||
queryParams.value.type = '3'
|
||||
queryParams.value.lendType = ''
|
||||
lendTypeList.value.map(ele => {
|
||||
Reflect.set(ele, 'selected', false)
|
||||
})
|
||||
@@ -206,7 +207,7 @@ function selectStatus(item) {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@@ -381,4 +382,4 @@ function selectStatus(item) {
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user