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