Commit 09b12cf8 authored by 黄奎's avatar 黄奎

新增js判断

parent a2a31f75
......@@ -319,10 +319,13 @@ export default {
init() {
this.apipost("customerIndex_post_GetPersonalCenter", {}, r => {
this.result = r.data.data;
this.result.totalFinancePrice=0;
this.result.financeWeekList.forEach(x=>{
if(this.result)
{
this.result.totalFinancePrice=0;
this.result.financeWeekList.forEach(x=>{
this.result.totalFinancePrice+=x.preferPrice
})
}
});
},
queryOrder() {
......
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