显示为跟新实现

This commit is contained in:
java110 2021-05-30 17:24:45 +08:00
parent e31d480179
commit c5d92d1c5b

View File

@ -5,7 +5,7 @@
<view v-for="(item,index) in machineTranslates" :key="index" class="bg-white margin-bottom margin-right-xs radius margin-left-xs padding"> <view v-for="(item,index) in machineTranslates" :key="index" class="bg-white margin-bottom margin-right-xs radius margin-left-xs padding">
<view class="flex padding-bottom-xs solid-bottom justify-between"> <view class="flex padding-bottom-xs solid-bottom justify-between">
<view>同步时间</view> <view>同步时间</view>
<view class="text-gray">{{item.createTime}}</view> <view class="text-gray">{{item.updateTime}}</view>
</view> </view>
<view class="flex margin-top justify-between"> <view class="flex margin-top justify-between">
<view class="text-gray">设备名称</view> <view class="text-gray">设备名称</view>
@ -78,7 +78,7 @@
}) })
.then(_data => { .then(_data => {
_data.forEach(function(_log) { _data.forEach(function(_log) {
let _tmpCreateTime = _log.createTime.replace(/\-/g, "/") _log.updateTime = _log.updateTime.replace(/\-/g, "/")
}); });
_that.machineTranslates = _data; _that.machineTranslates = _data;
},err =>{ },err =>{