mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-12-08 21:18:45 +00:00
收集游戏动态图集简略信息
This commit is contained in:
@@ -25,6 +25,7 @@ import { GA_EventName } from "../../ga/type";
|
||||
import { bridge } from "./bridge";
|
||||
import { Bus, BusMsg } from "./bus";
|
||||
import { EngineData, TreeData } from "./data";
|
||||
import GameInfo from "./game-info.vue";
|
||||
import { appStore } from "./store";
|
||||
import { Timer } from "./timer";
|
||||
const { CCTree, CCFootBar, CCDock, CCDialog, CCInput, CCButton, CCInputNumber, CCSelect, CCButtonGroup, CCCheckBox, CCColor, CCDivider } = ccui.components;
|
||||
@@ -214,6 +215,16 @@ export default defineComponent({
|
||||
updateTree();
|
||||
},
|
||||
});
|
||||
menus.push({
|
||||
name: "game info",
|
||||
callback() {
|
||||
ga.fireEventWithParam(GA_EventName.MouseMenu, "game info");
|
||||
ccui.dialog.showDialog({
|
||||
comp: GameInfo,
|
||||
title: "Game Info",
|
||||
});
|
||||
},
|
||||
});
|
||||
if (selectedUUID) {
|
||||
menus.push({
|
||||
name: "visible (sapce)",
|
||||
|
||||
Reference in New Issue
Block a user