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:
@@ -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() {
|
||||
|
@@ -18,6 +18,7 @@ import dedent from 'dedent'
|
||||
|
||||
export default {
|
||||
props: ['codeDialogVisible'],
|
||||
emits: ['saveJSCode'],
|
||||
components: {
|
||||
// CodeEditor
|
||||
},
|
||||
|
@@ -20,6 +20,7 @@ import { ergodic, findAObject } from '../utils/common';
|
||||
|
||||
export default {
|
||||
props: ['vueDialogVisible'],
|
||||
emits: ['codeParseSucess', 'update:vueDialogVisible'],
|
||||
components: {
|
||||
CodeEditor
|
||||
},
|
||||
|
Reference in New Issue
Block a user