Commit ed820e04 by 姜雷

修改设备类型对应

parent b28d20b9
...@@ -47,7 +47,7 @@ Component({ ...@@ -47,7 +47,7 @@ Component({
pageNum: 1, pageNum: 1,
pageSize: 15, pageSize: 15,
dataList: [], dataList: [],
deviceType: 2, // (2:洗衣,3:饮水,4:吹风,5:洗浴) deviceType: 3, // (2:洗衣,3:饮水,4:吹风,5:洗浴)
}, },
/** /**
......
...@@ -26,13 +26,13 @@ Page({ ...@@ -26,13 +26,13 @@ Page({
totalAmount: res.data.totalAmount.map(item => ({ totalAmount: res.data.totalAmount.map(item => ({
...item, ...item,
type: type:
item.key === '饮水' item.key === '洗衣'
? 2 ? 2
: item.key === '吹风' : item.key === '饮水'
? 3 ? 3
: item.key === '洗浴' : item.key === '吹风'
? 4 ? 4
: item.key === '洗' : item.key === '洗'
? 5 ? 5
: item.key, : item.key,
})), })),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment