瀏覽代碼

fix: 挂号确认添加诊疗卡刷新列表

liweimin 2 年之前
父節點
當前提交
d8de000950
共有 1 個文件被更改,包括 8 次插入2 次删除
  1. 8 2
      antbuilder/industry/hospitalV2/components/components/patient-selector/index.js

+ 8 - 2
antbuilder/industry/hospitalV2/components/components/patient-selector/index.js

@@ -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({
     }
 
   }
-});
+}));