大屏设计
This commit is contained in:
		| @@ -143,7 +143,7 @@ export default { | ||||
|                 } | ||||
|               }) | ||||
|             } else if (item.type === 'summary') { | ||||
|               if (this.options.display === 'summary9') { | ||||
|               if (item.display === 'summary9') { | ||||
|                 dynamicData = res.data | ||||
|               } else { | ||||
|                 dynamicData = Object.keys(res.data[0]).map(item => { | ||||
| @@ -153,6 +153,13 @@ export default { | ||||
|                   } | ||||
|                 }) | ||||
|               } | ||||
|             } else if (item.dataType === 'dynamicData' && !item.dataX && !item.dataY.length) { | ||||
|               dynamicData = Object.keys(res.data[0]).map(item => { | ||||
|                 return { | ||||
|                   label: item, | ||||
|                   value: res.data[0][item] | ||||
|                 } | ||||
|               }) | ||||
|             } else { | ||||
|               if (item.dataX && item.dataY.length) { | ||||
|                 list.forEach(i => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user