mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优化代码
This commit is contained in:
parent
879ba3924f
commit
78d31b6540
@ -41,6 +41,16 @@
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
getOnePrice1:function(fee) {
|
||||
let _price = fee.mwPrice;
|
||||
if (!_price) {
|
||||
return fee.squarePrice;
|
||||
}
|
||||
if (parseFloat(_price) > 0) {
|
||||
return _price;
|
||||
}
|
||||
return fee.mwPrice;
|
||||
},
|
||||
_loadListRoomCreateFeeInfo: function (_page, _row) {
|
||||
var param = {
|
||||
params: {
|
||||
@ -178,16 +188,6 @@
|
||||
console.log('请求失败处理');
|
||||
}
|
||||
);
|
||||
},
|
||||
getOnePrice1:function(fee) {
|
||||
let _price = fee.mwPrice;
|
||||
if (!_price) {
|
||||
return fee.squarePrice;
|
||||
}
|
||||
if (parseFloat(_price) > 0) {
|
||||
return _price;
|
||||
}
|
||||
return fee.mwPrice;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user