소스 검색

修复考勤5531

zhonghuizhen 1 년 전
부모
커밋
fe7e595804
1개의 변경된 파일과 3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      src/views/business/attendance/dakaDialog.vue

+ 3 - 2
src/views/business/attendance/dakaDialog.vue

@@ -41,9 +41,10 @@ export default {
     }
   },
   watch: {
-    schedules(newVal) {
+    visible(newVal) {
+      // 对话框打开时重置选择
       if (newVal) {
-        this.selectedValue = newVal
+        this.selectedValue = '';
       }
     }
   },