Jelajahi Sumber

复制任意时间的bug

iZaiZaiA 2 tahun lalu
induk
melakukan
2c193870f6
1 mengubah file dengan 2 tambahan dan 4 penghapusan
  1. 2 4
      src/views/ledger/components/table-form.vue

+ 2 - 4
src/views/ledger/components/table-form.vue

@@ -570,10 +570,8 @@ const queryReportLogTimeTree = async () => {
 }
 
 //日期树被点击
-const copyTimeTreeNodeClick = (data, node) => {
-    if (node.level === 3) {
-        queryLogTimeTreeList(data?.hierarchy)
-    }
+const copyTimeTreeNodeClick = (data) => {
+    queryLogTimeTreeList(data?.hierarchy)
 }
 
 //复制任意时间的记录人