mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-04-18 07:58:40 +00:00
rename
This commit is contained in:
parent
af69e1ecda
commit
993d918aca
@ -31,7 +31,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<NodeBaseProperty :all-group="treeItemData"></NodeBaseProperty>
|
||||
<properties :all-group="treeItemData"></properties>
|
||||
</div>
|
||||
</div>
|
||||
<div v-show="!isShowDebug" class="no-find">
|
||||
@ -44,16 +44,14 @@
|
||||
<script lang="ts">
|
||||
import Vue from "vue";
|
||||
import {Component, Prop} from "vue-property-decorator";
|
||||
import SceneProperty from "@/devtools/ccType/SceneProperty.vue";
|
||||
import ComponentsProperty from "@/devtools/ccType/ComponentsProperty.vue";
|
||||
import NodeBaseProperty from "@/devtools/ccType/NodeBaseProperty.vue";
|
||||
import properties from "./propertys.vue";
|
||||
import {DataType, testData} from "./data"
|
||||
import {NodeData} from "@/devtools/type";
|
||||
|
||||
const PluginMsg = require("../core/plugin-msg");
|
||||
@Component({
|
||||
components: {
|
||||
NodeBaseProperty, ComponentsProperty, SceneProperty,
|
||||
properties,
|
||||
}
|
||||
})
|
||||
export default class Index extends Vue {
|
||||
|
@ -24,8 +24,8 @@ import UiProp from "./ui-prop.vue"
|
||||
@Component({
|
||||
components: {UiProp},
|
||||
})
|
||||
export default class NodeBaseProperty extends Vue {
|
||||
name: string = "node-base"
|
||||
export default class properties extends Vue {
|
||||
name: string = "properties"
|
||||
|
||||
@Prop({default: () => [],})
|
||||
allGroup: Array<Record<string, any>> | undefined;
|
||||
@ -53,6 +53,7 @@ export default class NodeBaseProperty extends Vue {
|
||||
}
|
||||
|
||||
_initValue() {
|
||||
debugger
|
||||
if (this.allGroup) {
|
||||
this.allGroup.forEach(item => {
|
||||
this.$set(item, 'fold', false);
|
@ -94,6 +94,7 @@ let cc_inspector = {
|
||||
"children", "quat", "node",
|
||||
// 生命周期函数
|
||||
"onFocusInEditor", "onRestore", "start", "lateUpdate", "update", "resetInEditor", "onLostFocusInEditor",
|
||||
"onEnable", "onDisable", "onDestroy", "onLoad",
|
||||
];
|
||||
for (let key in node) {
|
||||
if (!key.startsWith("_") &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user