优化代码

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._loadPayTypes();
uni.$on('_getResourceInfo',function(_data){
_that._getResourceInfo();
uni.$on('getResourceInfo',function(_data){
console.log(_data)
_that._getResourceInfo(_data);
});
},
onUnload() {
uni.$off('_getResourceInfo');
uni.$off('getResourceInfo');
},
methods: {
_loadPayTypes: function(){