Commit 15f82378 by xiehao

1、修复了接口传参

1 parent 974da40d
Showing with 1 additions and 2 deletions
...@@ -116,8 +116,7 @@ export default { ...@@ -116,8 +116,7 @@ export default {
return this.$message.warning('请选择一种图形') return this.$message.warning('请选择一种图形')
} }
this.showDialog = false this.showDialog = false
const icon = const icon = this.graphList[this.graphIndex].icon
'data:image/svg+xml;base64,' + this.graphList[this.graphIndex].icon
const iconName = this.graphList[this.graphIndex].graphName const iconName = this.graphList[this.graphIndex].graphName
const graphId = this.graphList[this.graphIndex].graphId const graphId = this.graphList[this.graphIndex].graphId
this.$emit('emitSvg', { icon, iconName, graphId }) this.$emit('emitSvg', { icon, iconName, graphId })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!