DOMException: Failed to execute 'setAttribute' on 'Element': ',' is not a valid attribute name

1、错误描述

2、错误原因

<template>
	<div id="column3dChart">
		<fusioncharts :type="type"
		              :width="width",
					  :height="height"
					  :dataFormat="dataFormat"
					  :dataSource="dataSource"></fusioncharts>
	</div>
</template>

    在调用组件时,多个属性变量之间使用空格,不需要逗号进行间隔。这里是多了一个逗号

3、解决办法

      去掉多余的符号“,”

<template>
	<div id="column3dChart">
		<fusioncharts :type="type"
		              :width="width"
					  :height="height"
					  :dataFormat="dataFormat"
					  :dataSource="dataSource"></fusioncharts>
	</div>
</template>
原文地址:https://www.cnblogs.com/hzcya1995/p/13313715.html