|
@@ -67,7 +67,7 @@ const query = ref({
|
|
|
const selectItems = ref({
|
|
|
label: '已发布职位',
|
|
|
placeholder: '请选择已发布职位',
|
|
|
- clearable: false,
|
|
|
+ clearable: true,
|
|
|
width: 600,
|
|
|
items: []
|
|
|
})
|
|
@@ -120,8 +120,12 @@ const getData = async () => {
|
|
|
|
|
|
// 推荐
|
|
|
const handleChange = () => {
|
|
|
- if (!query.value.jobId) return
|
|
|
query.value.pageNo = 1
|
|
|
+ if (!query.value.jobId) {
|
|
|
+ items.value = []
|
|
|
+ total.value = 0
|
|
|
+ return
|
|
|
+ }
|
|
|
getData()
|
|
|
}
|
|
|
|