[fix]修复创建Tree的错误提示

This commit is contained in:
OrangeM21
2020-06-15 16:31:15 +08:00
parent 89a6c778aa
commit a0ca717aa2

View File

@@ -209,6 +209,7 @@ export default {
if (!parentNode) {
return
}
this.zTree.expandNode(parentNode, true, false, true, false)
// http://localhost/api/v1/assets/nodes/85aa4ee2-0bd9-41db-9079-aa3646448d0c/children/
const url = `${this.treeSetting.nodeUrl}${parentNode.meta.node.id}/children/`
this.$axios.post(url, {}).then(data => {