Преглед на файлове

复制任意时间的bug

iZaiZaiA преди 2 години
родител
ревизия
2c193870f6
променени са 1 файла, в които са добавени 2 реда и са изтрити 4 реда
  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)
 }
 
 //复制任意时间的记录人