lifanagju_citu vor 11 Monaten
Ursprung
Commit
4f088f6a05
1 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. 4 4
      src/layout/personal/navBar.vue

+ 4 - 4
src/layout/personal/navBar.vue

@@ -99,7 +99,7 @@ import { getToken } from '@/utils/auth'
 import { useUserStore } from '@/store/user'
 import { useLocaleStore } from '@/store/locale'
 import Dialog from '@/components/CtDialog'
-// import Confirm from '@/plugins/confirm'
+import Confirm from '@/plugins/confirm'
 defineOptions({ name: 'personal-navbar' })
 
 defineProps({
@@ -126,9 +126,9 @@ const userType = ref(1) // 0企业用户、1个人用户
 const changeRole = () => {
   if (userType.value) {
     // 未注册或绑定企业
-    // Confirm('系统提示', '是否确认删除此教育经历?').then(async () => {
-    //   console.log('1', 1)
-    // })
+    Confirm('系统提示', '是否确认删除此教育经历?').then(async () => {
+      console.log('1', 1)
+    })
     router.push({ path: '/enterprise/register' })
   } else {
     router.push({ path: '/enterprise/home' })