fix:修改 asset chart相关bug

This commit is contained in:
zhangyu
2021-05-13 19:02:23 +08:00
parent ef6c2d3a30
commit d937dd1666
6 changed files with 47 additions and 28 deletions

View File

@@ -480,7 +480,7 @@ export default {
blankLabelValue (label) {
if (label.type.toUpperCase() === this.assetConstants.labelTypeData.CHECKBOX) {
return []
} else if (label.type.toUpperCase() === this.assetConstants.labelTypeData.MULTITEXT) {
} else if (label.type.toUpperCase() === this.assetConstants.labelTypeData.MULTITEXT || label.type.toUpperCase() === assetConstants.labelTypeData.TEXT || label.type.toUpperCase() === assetConstants.labelTypeData.TEXTAREA) {
return ['']
} else {
return ''