Explorar o código

企业登录-招聘会广告弹窗

Xiao_123 hai 2 meses
pai
achega
c4604cdab7
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      src/plugins/dialogExtend/index.js

+ 3 - 2
src/plugins/dialogExtend/index.js

@@ -1,17 +1,18 @@
 import { createApp } from 'vue'
 import necessaryInfoDialog from './components/necessaryInfoDialog.vue'
 import positionAd from './components/positionAd.vue'
+import jobFairAd from './components/jobFairAd.vue'
 import vuetify from '@/plugins/vuetify'
 // import { showImprovePersonaInfo } from '@/utils/whiteList'
 // import router from '@/router'
 
 const toastMessage = (type, option = {})  => {
-  // debugger
   // if (type === 'necessaryInfoDialog' && router && showImprovePersonaInfo(router.path)) return
   return new Promise((resolve, reject) => {
     const componentName = type === 'necessaryInfoDialog' ?
       necessaryInfoDialog : type === 'positionAd' ?
-      positionAd : null
+      positionAd : type === 'jobFairAd' ?
+      jobFairAd : null
     //
     const rootNode = document.createElement("div")
       document.querySelector('.v-application').appendChild(rootNode)