mylomen-server/static/js/lib/model/MyRecovery.js
shaoyongjun ab00b85c8f to:sync
2024-10-31 01:32:52 +08:00

19 lines
271 B
JavaScript

"use strict";
export class MyRecovery {
constructor(data, func) {
this.data = data;
this.func = func;
}
getData() {
return this.data;
}
getFun() {
return this.func;
}
recovery() {
this.func();
}
}