|
@@ -1,6 +1,12 @@
|
|
|
+import { createSubscribe } from 'applet-page-component';
|
|
|
import { queryList } from '../../order-pay/service';
|
|
|
import history from '../../../utils/history';
|
|
|
-Component({
|
|
|
+Component(createSubscribe({
|
|
|
+ async onShow() {
|
|
|
+ await this.queryList();
|
|
|
+ }
|
|
|
+
|
|
|
+})({
|
|
|
props: {
|
|
|
show: false,
|
|
|
onClose: () => null,
|
|
@@ -103,4 +109,4 @@ Component({
|
|
|
}
|
|
|
|
|
|
}
|
|
|
-});
|
|
|
+}));
|