Commit 354c9dc2 by Mr. Lan

fix bug.

parent 6ed4e84a
Showing with 8 additions and 6 deletions
......@@ -206,12 +206,14 @@ export default {
if (this.previous !== '') {
var previousValue = ''
const item = this.graph.findById(this.previous[0])
previousValue = { ...item.getModel() }
var err = this.verifyProcess(previousValue)
if (err !== '') {
this.selectedModel = previousValue
this.$message.error(err)
return
if (item !== undefined) {
previousValue = { ...item.getModel() }
var err = this.verifyProcess(previousValue)
if (err !== '') {
this.selectedModel = previousValue
this.$message.error(err)
return
}
}
}
const item = this.graph.findById(items[0])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment