mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2026-02-05 18:15:28 +08:00
【同步3.7.4版本代码】新增全局布局隐藏配置,优化多个组件的属性和逻辑
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
import type { JPromptProps } from '../typing';
|
||||
import { render, createVNode, nextTick } from 'vue';
|
||||
import { error } from '/@/utils/log';
|
||||
import { getAppContext } from "@/store";
|
||||
import JPrompt from '../JPrompt.vue';
|
||||
|
||||
export function useJPrompt() {
|
||||
@ -21,6 +22,7 @@ export function useJPrompt() {
|
||||
document.body.removeChild(box);
|
||||
},
|
||||
});
|
||||
vm.appContext = getAppContext()!;
|
||||
// 挂载到 body
|
||||
render(vm, box);
|
||||
document.body.appendChild(box);
|
||||
|
||||
Reference in New Issue
Block a user