pages/mLedger/behaviors/bUploadLedger.js
@@ -87,5 +87,20 @@ }, ); }, _uploadCopyLedger(copyLedgerList) { const time = moment().format('YYYY-MM'); ledgerservice.copyLedger(app.globalData.accessToken.userId, time,copyLedgerList, { success:res=>{ this.setData({ loading: false }); if (typeof this._success === 'function') { this._success(res); } }, fail(err) { this.setData({ loading: false }); }, }) } }, });