hfxc226 2 anni fa
parent
commit
a8067c0c65
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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
       })