mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-04-20 00:48:43 +00:00
调整目录层级
This commit is contained in:
parent
4659d4230a
commit
1ab22e64ef
@ -1,45 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div id="app">
|
|
||||||
<div>
|
|
||||||
<div>
|
|
||||||
<h4 @click="onClickComp" style="margin-top: 5px;margin-bottom: 1px;font-weight: bold;cursor: pointer">挂载组件:</h4>
|
|
||||||
<hr style="margin-bottom: 2px;margin-top: 2px;"/>
|
|
||||||
</div>
|
|
||||||
<div v-show="isShowComp">
|
|
||||||
<ui-prop :name="index" track-by="$index" v-for="(comp,index) in components" :key="index">
|
|
||||||
<span>{{ comp.type }}</span>
|
|
||||||
</ui-prop>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script lang="ts">
|
|
||||||
import Vue from "vue"
|
|
||||||
import {Component, Prop} from "vue-property-decorator";
|
|
||||||
import UiProp from "@/devtools/ccType/ui-prop.vue"
|
|
||||||
|
|
||||||
@Component({
|
|
||||||
components: {
|
|
||||||
UiProp
|
|
||||||
}
|
|
||||||
})
|
|
||||||
export default class ComponentsProperty extends Vue {
|
|
||||||
name: string = "components";
|
|
||||||
isShowComp: boolean = true;
|
|
||||||
|
|
||||||
@Prop()
|
|
||||||
components: undefined;
|
|
||||||
|
|
||||||
onClickComp() {
|
|
||||||
this.isShowComp = !this.isShowComp;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
span {
|
|
||||||
color: #fd942b;
|
|
||||||
}
|
|
||||||
</style>
|
|
@ -1,19 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div id="app">
|
|
||||||
<!--<h1> cc_Scene</h1>-->
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script lang="ts">
|
|
||||||
import Vue from 'vue'
|
|
||||||
import {Component, Prop} from "vue-property-decorator";
|
|
||||||
|
|
||||||
@Component
|
|
||||||
export default class SceneProperty extends Vue {
|
|
||||||
name: string = "scene"
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
|
|
||||||
</style>
|
|
@ -51,7 +51,7 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Vue from "vue";
|
import Vue from "vue";
|
||||||
import {Component} from "vue-property-decorator";
|
import {Component} from "vue-property-decorator";
|
||||||
import properties from "./propertys.vue";
|
import properties from "./ui/propertys.vue";
|
||||||
import {Msg, Page, PluginEvent} from '@/core/types'
|
import {Msg, Page, PluginEvent} from '@/core/types'
|
||||||
import {connectBackground} from "@/devtools/connectBackground";
|
import {connectBackground} from "@/devtools/connectBackground";
|
||||||
import {EngineData, Info, TreeData} from "@/devtools/data";
|
import {EngineData, Info, TreeData} from "@/devtools/data";
|
||||||
|
@ -123,10 +123,10 @@
|
|||||||
|
|
||||||
import Vue from "vue"
|
import Vue from "vue"
|
||||||
import {Component, Prop} from "vue-property-decorator"
|
import {Component, Prop} from "vue-property-decorator"
|
||||||
import {DataType, Info, EngineData} from "./data"
|
import {DataType, Info, EngineData} from "../data"
|
||||||
import {connectBackground} from "@/devtools/connectBackground";
|
import {connectBackground} from "@/devtools/connectBackground";
|
||||||
import {Msg} from "@/core/types";
|
import {Msg} from "@/core/types";
|
||||||
import Bus, {BusMsg} from "./bus"
|
import Bus, {BusMsg} from "../bus"
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
components: {}
|
components: {}
|
Loading…
x
Reference in New Issue
Block a user