Skip to content

Commit

Permalink
ace content bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sscscc committed Apr 15, 2023
1 parent 539c175 commit be9c355
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/views/CodeEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,10 @@ endmodule\n"},
},
handleNodeClick(data) {
this.selected = data.type
if (data.type == "file")
if (data.type == "file"){
this.content = data.text
this.$refs.MyAce.setValue(this.content)
}
else if(data.type == "ipcore")
this.ipcore_params = data.params
},
Expand Down

0 comments on commit be9c355

Please sign in to comment.