Procházet zdrojové kódy

Merge branch 'baiyanting1' of http://124.70.43.205:3000/xieshengjie/jn_sis_zhfx into new-power

baiyanting před 1 rokem
rodič
revize
2098e75b35

+ 1 - 1
src/views/IntegratedAlarm/deviceConfig/index.vue

@@ -296,7 +296,7 @@ const saveTreeAdd = async () => {
 // getData
 const getData = async () => {
   const res = await tree();
-  state.treedata = res.children.reverse();
+  state.treedata = [res];
   state.cascaderdata = cascaderforEach(res);
 };