1
This commit is contained in:
@@ -19,7 +19,6 @@
|
|||||||
node: { required: true, type: Object },
|
node: { required: true, type: Object },
|
||||||
tier: { default: 1, type: Number }
|
tier: { default: 1, type: Number }
|
||||||
})
|
})
|
||||||
console.log(props.tier, props.node)
|
|
||||||
const list = ref([
|
const list = ref([
|
||||||
{
|
{
|
||||||
tier: NODE_DATATIER.TO_REAL_STYLE,
|
tier: NODE_DATATIER.TO_REAL_STYLE,
|
||||||
|
|||||||
@@ -92,7 +92,7 @@
|
|||||||
const { layout } = useLayout()
|
const { layout } = useLayout()
|
||||||
const index = ref(0)
|
const index = ref(0)
|
||||||
async function layoutGraph(direction) {
|
async function layoutGraph(direction) {
|
||||||
// if (index.value > 0) return
|
if (index.value > 0) return
|
||||||
index.value++
|
index.value++
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
stateManager.nodes.value = layout(
|
stateManager.nodes.value = layout(
|
||||||
|
|||||||
Reference in New Issue
Block a user