Commit 91a2e0b29c145d6d138cf2c0d68eb2a240d97faf
1 parent
b1f8ccd5
界面显示错误或异常信息
Showing
1 changed file
with
6 additions
and
1 deletions
src/main/resources/templates/shipment/shippingCombination/shippingCombination.html
... | ... | @@ -135,7 +135,12 @@ |
135 | 135 | id:row.id |
136 | 136 | }, |
137 | 137 | success:res=>{ |
138 | - $("#bootstrap-table1").bootstrapTable('load',res.data) | |
138 | + if(res.code===200){ | |
139 | + $("#bootstrap-table1").bootstrapTable('load',res.data) | |
140 | + } | |
141 | + else{ | |
142 | + $.modal.alertError(res.msg) | |
143 | + } | |
139 | 144 | } |
140 | 145 | }) |
141 | 146 | }, |
... | ... |