mylomen-server/static/js/lib/model/MyRecovery.js

19 lines
271 B
JavaScript
Raw Normal View History

2024-10-31 01:32:52 +08:00
"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();
}
}