优化代码

This commit is contained in:
java110 2022-06-28 18:07:53 +08:00
parent 9a6cf11fd2
commit 28c602c4e9

View File

@ -263,12 +263,13 @@
} }
this._loadRepairStaff(); this._loadRepairStaff();
this._loadPayTypes(); this._loadPayTypes();
uni.$on('_getResourceInfo',function(_data){ uni.$on('getResourceInfo',function(_data){
_that._getResourceInfo(); console.log(_data)
_that._getResourceInfo(_data);
}); });
}, },
onUnload() { onUnload() {
uni.$off('_getResourceInfo'); uni.$off('getResourceInfo');
}, },
methods: { methods: {
_loadPayTypes: function(){ _loadPayTypes: function(){