1
0
mirror of https://github.com/sahadev/vue-component-creater-ui.git synced 2025-09-28 07:13:21 +08:00

update: 消除当下运行时警告

This commit is contained in:
shangbin
2021-12-06 14:13:00 +08:00
parent d6f575c503
commit 1f52b5da21
6 changed files with 94 additions and 100 deletions

View File

@@ -12,7 +12,7 @@
<el-col :span="16" style="height: 100%;">
<div style="overflow: scroll;height:100%; margin: 0 20px;padding: 10px;">
<vue-nestable v-model="treeData" @change="onLevelChange">
<!-- <vue-nestable v-model="treeData" @change="onLevelChange">
<template v-slot="{ item }">
<vue-nestable-handle :item="item">
<i class="el-icon-rank icon-s"></i>
@@ -24,7 +24,7 @@
<template v-slot:placeholder>
<div><b>The editor is empty.</b></div>
</template>
</vue-nestable>
</vue-nestable> -->
</div>
</el-col>
@@ -44,14 +44,15 @@
import "./halower-tree.min.css";
import "@/assets/nestable.css"
import { isObject, getRawComponentKey, getRawComponentContent } from "@/utils/common";
import { VueNestable, VueNestableHandle } from 'vue-nestable';
// import { VueNestable, VueNestableHandle } from 'vue-nestable';
export default {
props: ['visible'],
emits: ['codeRefresh', 'onLevelChange', 'remove', 'save', 'update:visible'],
components: {
AttributeInput: resolve => { require(["./AttributeInput"], resolve) },
VueNestable,
VueNestableHandle
// VueNestable,
// VueNestableHandle
},
data() {

View File

@@ -18,6 +18,7 @@ import dedent from 'dedent'
export default {
props: ['codeDialogVisible'],
emits: ['saveJSCode'],
components: {
// CodeEditor
},

View File

@@ -20,6 +20,7 @@ import { ergodic, findAObject } from '../utils/common';
export default {
props: ['vueDialogVisible'],
emits: ['codeParseSucess', 'update:vueDialogVisible'],
components: {
CodeEditor
},