bug
This commit is contained in:
@@ -91,7 +91,7 @@
|
||||
<div class="coordinate-top"></div>
|
||||
<div class="coordinate-label">{{ item.left }}, {{ item.top }}</div>
|
||||
</div>
|
||||
<ai-dv-render :data="item" :theme="dashboard.theme" :index="index"/>
|
||||
<ai-dv-render :data="item" :theme="dashboard.theme" :index="index" :instance="instance" />
|
||||
</vue-draggable-resizable>
|
||||
</div>
|
||||
</ai-dv-wrapper>
|
||||
|
||||
@@ -259,6 +259,8 @@
|
||||
this.keys = Object.keys(res.data[0])
|
||||
}
|
||||
}
|
||||
} else {
|
||||
this.options.dynamicData = []
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -312,6 +314,8 @@
|
||||
this.list = res.data
|
||||
this.keys = Object.keys(res.data[0])
|
||||
}
|
||||
} else {
|
||||
this.options.dynamicData = []
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -157,9 +157,13 @@ export default {
|
||||
...obj
|
||||
})
|
||||
})
|
||||
} else dynamicData = res.data
|
||||
} else {
|
||||
dynamicData = res.data
|
||||
}
|
||||
}
|
||||
this.$set(this.componentList[index], item.dataType, dynamicData)
|
||||
} else {
|
||||
this.$set(this.componentList[index], item.dataType, [])
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user