反馈联调和职位列表交互bug
This commit is contained in:
@@ -227,6 +227,9 @@
|
||||
|
||||
<!-- 求职目标设置弹窗 -->
|
||||
<JobGoalDialog v-model="showGoalDialog" />
|
||||
|
||||
<!-- 注销账号弹窗 -->
|
||||
<SettingsDeleteAccountDialog v-model="showDeleteAccount" />
|
||||
</Teleport>
|
||||
</template>
|
||||
|
||||
@@ -239,6 +242,7 @@ import JobGoalDialog from './JobGoalDialog.vue'
|
||||
import { resolveRegionName } from '@/utils/region'
|
||||
import { resolveIndustryName } from '@/utils/industry'
|
||||
import { resolveJobCategoryName } from '@/utils/jobCategory'
|
||||
import SettingsDeleteAccountDialog from './SettingsDeleteAccountDialog.vue'
|
||||
|
||||
/** 组件 Props — 控制弹窗显示/隐藏 */
|
||||
const props = defineProps<{ modelValue: boolean }>()
|
||||
@@ -277,6 +281,9 @@ const reminders = reactive({
|
||||
/** 求职目标弹窗显示状态 */
|
||||
const showGoalDialog = ref(false)
|
||||
|
||||
/** 注销账号弹窗显示状态 */
|
||||
const showDeleteAccount = ref(false)
|
||||
|
||||
/** 岗位名称列表 */
|
||||
const intentionCategoryNames = computed(() => {
|
||||
const ids = store.state.jobIntention.categoryIds || []
|
||||
@@ -313,15 +320,9 @@ watch(() => props.modelValue, (val) => {
|
||||
}
|
||||
})
|
||||
|
||||
/** 注销账号 — 弹出二次确认 */
|
||||
/** 注销账号 — 打开注销账号弹窗 */
|
||||
const handleDeleteAccount = () => {
|
||||
ElMessageBox.confirm('此操作将永久删除你的账号及所有数据,是否继续?', '注销账号', {
|
||||
confirmButtonText: '确认注销',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning',
|
||||
}).then(() => {
|
||||
ElMessage.success('账号已注销')
|
||||
}).catch(() => {})
|
||||
showDeleteAccount.value = true
|
||||
}
|
||||
|
||||
/** 管理订阅 */
|
||||
|
||||
Reference in New Issue
Block a user