Commit f34edca1 authored by 石建新(贵阳日报)'s avatar 石建新(贵阳日报)
parents c2dd828f e138643d
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
</div> </div>
</div> </div>
<div class="bottom-wrap"> <div class="bottom-wrap">
<button class="cancel" @click="onCancel">取消</button> <button class="cancel" @click="onCancel">重置</button>
<button class="confirm" @click="onConfirm">确认</button> <button class="confirm" @click="onConfirm">确认</button>
</div> </div>
</div> </div>
...@@ -209,7 +209,9 @@ initData(); ...@@ -209,7 +209,9 @@ initData();
const emit = defineEmits(["confirm", "cancel"]); const emit = defineEmits(["confirm", "cancel"]);
// 2. 取消 // 2. 取消
const onCancel = () => { const onCancel = () => {
emit("cancel"); initData()
onConfirm()
// emit("cancel");
}; };
// 1. 确认 接收数据 // 1. 确认 接收数据
const onConfirm = () => { const onConfirm = () => {
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
@confirm="handleConfirmMajor" @confirm="handleConfirmMajor"
use-default-slot use-default-slot
> >
<view class="item">{{ majorText || "全部" }} <view class="arrow"></view> </view> <view class="item">{{ majorText || "不限" }} <view class="arrow"></view> </view>
</wd-col-picker> </wd-col-picker>
</view> </view>
<!-- <view class="item">默认排序<view class="arrow"></view> </view> --> <!-- <view class="item">默认排序<view class="arrow"></view> </view> -->
...@@ -231,7 +231,7 @@ const getResumeRecommendList = () => { ...@@ -231,7 +231,7 @@ const getResumeRecommendList = () => {
if (activeTab.value === "求职推荐") { if (activeTab.value === "求职推荐") {
return getRecommendedResumeListApi(getResumeRecommendListParams.value).then(res => { return getRecommendedResumeListApi(getResumeRecommendListParams.value).then(res => {
xma.hideLoading(); xma.hideLoading();
res.data = res.data.filter(v => !v.applied); res.data = res.data?.filter(v => !v.applied);
refresherEnabled.value = false; refresherEnabled.value = false;
if (!res.data) { if (!res.data) {
res.data = []; res.data = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment