2016-08-17 06:01:20 +08:00
|
|
|
import ko from 'ko';
|
2015-01-27 05:06:00 +08:00
|
|
|
|
2019-07-05 03:19:24 +08:00
|
|
|
class PackageAdminStore {
|
2016-08-17 06:01:20 +08:00
|
|
|
constructor() {
|
2021-01-22 19:23:20 +08:00
|
|
|
this.packages = ko.observableArray();
|
2021-02-10 19:12:36 +08:00
|
|
|
this.packages.loading = ko.observable(false).extend({ debounce: 100 });
|
2015-01-27 05:06:00 +08:00
|
|
|
|
2020-10-27 18:09:24 +08:00
|
|
|
ko.addObservablesTo(this, {
|
|
|
|
packagesReal: true,
|
|
|
|
packagesMainUpdatable: true
|
|
|
|
});
|
2016-08-17 06:01:20 +08:00
|
|
|
}
|
2016-06-30 08:02:45 +08:00
|
|
|
}
|
2015-01-27 05:06:00 +08:00
|
|
|
|
2016-09-13 04:50:21 +08:00
|
|
|
export default new PackageAdminStore();
|