移除一些eslint的报错

This commit is contained in:
zhl 2020-04-08 15:23:52 +08:00
parent b434710c59
commit 3602b9865f

View File

@ -508,7 +508,7 @@ export default {
}
},
formatArea(row, column, cellValue, index) {
return cellValue ? cellValue : '不指定'
return cellValue || '不指定'
},
formPublished(row, column, cellValue, index) {
return cellValue === true ? '是' : '否'
@ -521,7 +521,7 @@ export default {
break
}
}
return platform ? platform : '暂无'
return platform || '暂无'
},
delShare(row) {
this.$confirm('是否删除该分享图?', '提示', {