提交 70506be4 authored 作者: matian's avatar matian

updates

上级 97b7c9f9
......@@ -10,7 +10,9 @@ const appList = ref()
const listOptions = {
remote: {
beforeRequest(params: any, isReset: boolean) {
params.work_locations = params.work_locations[0] + '-' + params.work_locations[1] || ''
if (params.work_locations !== null) {
params.work_locations = params.work_locations.toString().replace(',', '-')
}
if (isReset) {
params.work_locations = ''
}
......@@ -128,7 +130,7 @@ const handleDetail = (row: any) => {
})
}
const handleChange = () => {
appList.value.refetch()
appList?.value.refetch()
}
</script>
......@@ -141,6 +143,7 @@ const handleChange = () => {
:options="treeList"
@change="handleChange"
placeholder="地点"
clearable
></el-cascader>
</template>
<template v-slot:status="{ row }">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论