duy 2 lat temu
rodzic
commit
3074916cbe
1 zmienionych plików z 8 dodań i 1 usunięć
  1. 8 1
      src/views/static/components/tab-decost.vue

+ 8 - 1
src/views/static/components/tab-decost.vue

@@ -152,7 +152,14 @@ const tableColData = ref([
   },
 ])
 const getColData = ()=>{
-  tableColData.value = []
+  tableColData.value = [ {
+    id:'time',
+    name: '时间',
+    children:[
+        { id:'time',
+        name: '时间' },
+    ],
+  }]
   department.value.forEach((ele, index)=>{
     tableColData.value.push({
       id:ele.id,