调整目录层级

This commit is contained in:
xyf-mac 2021-10-30 16:32:58 +08:00
parent 4659d4230a
commit 1ab22e64ef
5 changed files with 3 additions and 67 deletions

View File

@ -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>

View File

@ -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>

View File

@ -51,7 +51,7 @@
<script lang="ts">
import Vue from "vue";
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 {connectBackground} from "@/devtools/connectBackground";
import {EngineData, Info, TreeData} from "@/devtools/data";

View File

@ -123,10 +123,10 @@
import Vue from "vue"
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 {Msg} from "@/core/types";
import Bus, {BusMsg} from "./bus"
import Bus, {BusMsg} from "../bus"
@Component({
components: {}