fix: 后台接口对接,问题修复及线上提交测试。
This commit is contained in:
@@ -397,8 +397,9 @@ function getPayItem() {
|
||||
}
|
||||
// 设备列表
|
||||
function getDeviceList() {
|
||||
allDeviceList({ type: 1 }).then((res: any) => {
|
||||
if (res.statusCode == 200) {
|
||||
const userId = Taro.getStorageSync("UserId");
|
||||
allDeviceList({ type: 1,rootUserId:userId }).then((res: any) => {
|
||||
if (res.code == 200) {
|
||||
res.data.forEach((item: any) => {
|
||||
const deadDay = daysBeforeToday(formatDate(new Date(item.deadTime)));
|
||||
item.deadDay = deadDay
|
||||
|
||||
Reference in New Issue
Block a user