mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-04-19 08:28:41 +00:00
修复在编辑器预览模式小助手没有置顶的bug
This commit is contained in:
parent
3798d96b67
commit
3118b86286
@ -1,8 +1,8 @@
|
||||
import ccui from "@xuyanfeng/cc-ui";
|
||||
import "@xuyanfeng/cc-ui/dist/ccui.css";
|
||||
import "@xuyanfeng/cc-ui/iconfont/iconfont.css";
|
||||
import { createApp } from "vue";
|
||||
import { createPinia } from "pinia";
|
||||
import { createApp } from "vue";
|
||||
import { DocumentEvent } from "../const";
|
||||
import App from "../inject-view/app.vue";
|
||||
export class InjectView {
|
||||
@ -41,6 +41,7 @@ export class InjectView {
|
||||
private createUI() {
|
||||
const el = document.createElement("div");
|
||||
el.setAttribute("app", "");
|
||||
el.style.zIndex = "9000";
|
||||
document.body.appendChild(el);
|
||||
// load css
|
||||
this.loadCss();
|
||||
|
Loading…
x
Reference in New Issue
Block a user