Browse Source

opc优化

hfxc226 2 years ago
parent
commit
a8067c0c65
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/sb/position/SbPosition.vue

+ 2 - 2
src/views/sb/position/SbPosition.vue

@@ -297,8 +297,8 @@ export default {
     /**
      * 设置位置树
      */
-    setTree (record = {}) {
-      getSbPositionTree({ id: record.id }).then(res => {
+    setTree () {
+      getSbPositionTree({}).then(res => {
         console.log(res.data)
         this.treeData = res.data
       })