Explorar o código

复制任意时间的bug

iZaiZaiA %!s(int64=2) %!d(string=hai) anos
pai
achega
2c193870f6
Modificáronse 1 ficheiros con 2 adicións e 4 borrados
  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)
 }
 
 //复制任意时间的记录人