修改mysql脚本
This commit is contained in:
@@ -91,16 +91,6 @@ export default {
|
||||
if (typeof(callback) === 'function') {
|
||||
callback(res.data.data)
|
||||
}
|
||||
//
|
||||
|
||||
// if (typeof (this.$refs.tree.setCurrentKey) == "undefined") {
|
||||
// this.$refs.tree.setCurrentKey(this.defaultCatalogId)
|
||||
// let data = this.$refs.tree.getCurrentNode()
|
||||
// if (data != null && data.id === this.defaultCatalogId) {
|
||||
// this.currentCatalogChange(data, this.$refs.tree.getNode(data.id))
|
||||
// }
|
||||
// }
|
||||
|
||||
}
|
||||
})
|
||||
.catch(function (error) {
|
||||
@@ -126,18 +116,6 @@ export default {
|
||||
let node = this.$refs.tree.getNode(id);
|
||||
this.refreshCatalog(node);
|
||||
}
|
||||
// if (nodeIds !== null) {
|
||||
// let refreshNode = {}
|
||||
// for (let i = 0; i < nodeIds.length; i++) {
|
||||
// let node = this.$refs.tree.getNode(nodeIds[i]);
|
||||
// refreshNode[node.parent.data.id] = node.parent
|
||||
// }
|
||||
// if (Object.values(refreshNode).length > 0) {
|
||||
// for (let j = 0; j < Object.values(refreshNode).length; j++) {
|
||||
// this.refreshCatalog(Object.values(refreshNode)[j]);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
},
|
||||
editCatalog: function (data, node){
|
||||
let that = this;
|
||||
|
||||
Reference in New Issue
Block a user