瀏覽代碼

修复考勤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 = '';
       }
     }
   },