cjb hai 3 semanas
pai
achega
5114ce74b8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      entry/src/main/ets/view/wms/CallMaterialNotification.ets

+ 1 - 1
entry/src/main/ets/view/wms/CallMaterialNotification.ets

@@ -68,8 +68,8 @@ struct MaterialNotificationItem{
     .onClick(() => {
       this.scaleValue = 0.9;  // 点击时缩小
       setTimeout(() => {
-        this.scaleValue = 1; // 0.2秒后恢复
         this.searchRequestMaterial()
+        this.scaleValue = 1; // 0.2秒后恢复
         const changed = this.workOrders[this.index].workOrderState !== "已完成";
         this.workOrders[this.index].workOrderState = "已完成";
         // 只有状态确实变化时才重新排序