更新
This commit is contained in:
@@ -123,14 +123,15 @@ export default {
|
|||||||
iconClass: mappingDataItem.iconClass || "iconjichuziliao",
|
iconClass: mappingDataItem.iconClass || "iconjichuziliao",
|
||||||
isFold: mappingDataItem.isFold || true,
|
isFold: mappingDataItem.isFold || true,
|
||||||
listData: mappingDataItem.carItems.map((carItem) => {
|
listData: mappingDataItem.carItems.map((carItem) => {
|
||||||
return {
|
let value =
|
||||||
label: carItem.label,
|
|
||||||
value:
|
|
||||||
(typeof carItem.value == "function" &&
|
(typeof carItem.value == "function" &&
|
||||||
carItem.value(shineData)) ||
|
carItem.value(shineData)) ||
|
||||||
shineData[carItem.value] ||
|
shineData[carItem.value] == 0
|
||||||
carItem.fieldDefault ||
|
? 0
|
||||||
"暂无数据",
|
: shineData[carItem.value] || carItem.fieldDefault || "";
|
||||||
|
return {
|
||||||
|
label: carItem.label,
|
||||||
|
value: value,
|
||||||
field: carItem.value,
|
field: carItem.value,
|
||||||
remark: carItem.remark,
|
remark: carItem.remark,
|
||||||
isCopy: carItem.isCopy || false,
|
isCopy: carItem.isCopy || false,
|
||||||
|
|||||||
Reference in New Issue
Block a user