File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 4242 return {
4343 Form: {},
4444 index: ' ' ,
45- changeData: [],
45+ changeDatas: {
46+ changeData: []
47+ },
4648 success: false ,
4749 error: false ,
4850 msg: ' ' ,
5759 const _this = this
5860 if (Form .check && Form .handle_way && Form .handle_name ) {
5961 // 之前挖的坑,写的api有问题,导致只能再加一层
60- this .changeData .push (Form)
62+ this .changeDatas . changeData .push (Form)
6163 this .check_submit = false
62- this .$http .post (' /bills/clearBill' , this .changeData )
64+ this .$http .post (' /bills/clearBill' , this .changeDatas )
6365 .then (function (res ) {
6466 if (res .data .type === ' success' ) {
6567 _this .success = true
8991 },
9092 editStorage : function () {
9193 // 修改清账完后的数据,与sessionStorage的数据同步
92- localStorage .hmt_changeData = JSON .stringify (this .changeData )
94+ localStorage .hmt_changeData = JSON .stringify (this .changeDatas . changeData )
9395 let bills = JSON .parse (localStorage .hmt_formLists )
9496 bills[this .index - 1 ].check = this .Form .check
9597 bills[this .index - 1 ].handle_way = this .Form .handle_way
You can’t perform that action at this time.
0 commit comments