wxParser-plugin icon indicating copy to clipboard operation
wxParser-plugin copied to clipboard

不能渲染svg?

Open RexHarris opened this issue 2 years ago • 0 comments

image

template部分 <wxparser :rich-text="graphCodeImg" />

js部分 async getGraphValidationCode() { const res = await this.$api.common.getGraphCode(); this.graphCodeImg = res.data ? res.data.svg : ''; } graphCodeImg为后端返回的字符串类型的svg元素

RexHarris avatar Jul 12 '21 13:07 RexHarris