fix:select

This commit is contained in:
dichgrem
2026-01-05 17:45:27 +08:00
parent fb9735f9c6
commit e3879623a9
8 changed files with 73 additions and 46 deletions

View File

@@ -109,6 +109,11 @@ export default {
const { error, msg } = response.data;
if (error === 0) {
showSuccessToast("操作成功");
if (payload.isApplay === false) {
that.data.applyStatus = 0; // Simulate status change to 'not applied'
} else {
that.data.applyStatus = 1; // Simulate status change to 'under review'
}
that.fetchDetails();
} else {
showFailToast(msg || "网络错误,请稍后重试");