dengrui 1 місяць тому
батько
коміт
64af65e21c
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      entry/src/main/ets/view/CompleteSet.ets

+ 2 - 0
entry/src/main/ets/view/CompleteSet.ets

@@ -250,6 +250,8 @@ export struct CompleteSet {
       orderMaterialSwitch: this.orderMaterialSwitch,
       confirm: async () => {
         this.materialArray = []
+        //重置pageNo
+        this.pageNo = 1
         // 查询工序关联的物料信息
         let res = await this.queryMaterialPage()
         // if (res.totalCount === undefined || res.totalCount <= 0 || res.totalPages === undefined || res.totalPages <= 0) {