This commit is contained in:
aqu415
2022-02-15 21:59:50 +08:00
parent 1be792b38b
commit 01539916d6
3 changed files with 10 additions and 7 deletions
+2 -2
View File
@@ -206,13 +206,13 @@
defaultFn.call(_this, this.selected_node)
if (!_this._get_mid_opts()) {
cb(this.selected_node, _noop)
fn.call(j, Jm.util.uuid.newid(), this.menuOpts.newNodeText || '请输入节点名称')
fn.call(j, Jm.util.uuid.newid(), this.menuOpts.newNodeText || '请输入名称')
return
}
cb(this.selected_node, _this._mid_stage_next(function () {
var retArgs = [this.selected_node]
var argus = Array.prototype.slice.call(arguments[0], 0)
argus[1] = this.menuOpts.newNodeText || '请输入节点名称'
argus[1] = this.menuOpts.newNodeText || '请输入名称'
if (argus[0]) {
retArgs = argus
}