@ -117,9 +117,9 @@ export default {
weigh().then(
res => {
let weigh = null
if (res.data) {
if (res.status === 0) {
weigh = parseFloat(res.data)
if (!weigh) {
if (weigh == null) {
return
}
// 保存余量数据