mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
fix: modal does not pop up #70
This commit is contained in:
parent
a43b99feb9
commit
1511c341f5
3 changed files with 5 additions and 3 deletions
|
@ -8,7 +8,8 @@ import {computed, provide, reactive, ref, watch} from 'vue'
|
|||
import {useRoute, useRouter} from 'vue-router'
|
||||
import domain from '@/api/domain'
|
||||
import ngx from '@/api/ngx'
|
||||
import {message, Modal} from 'ant-design-vue'
|
||||
import Modal from 'ant-design-vue/lib/modal'
|
||||
import {message} from 'ant-design-vue'
|
||||
import config from '@/api/config'
|
||||
import ChatGPT from '@/components/ChatGPT/ChatGPT.vue'
|
||||
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
import {useGettext} from 'vue3-gettext'
|
||||
import {computed, inject, nextTick, provide, reactive, Ref, ref} from 'vue'
|
||||
import websocket from '@/lib/websocket'
|
||||
import {message, Modal} from 'ant-design-vue'
|
||||
import Modal from 'ant-design-vue/lib/modal'
|
||||
import {message} from 'ant-design-vue'
|
||||
import template from '@/api/template'
|
||||
import domain from '@/api/domain'
|
||||
import AutoCertStepOne from '@/views/domain/cert/components/AutoCertStepOne.vue'
|
||||
|
|
|
@ -18,7 +18,7 @@ const props = defineProps(['ngx_config', 'auto_cert', 'enabled', 'cert_info'])
|
|||
|
||||
const emit = defineEmits(['callback', 'update:auto_cert'])
|
||||
|
||||
const save_site_config: Function = inject('save_site_config')!
|
||||
const save_site_config = inject('save_site_config')!
|
||||
|
||||
const route = useRoute()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue