hfxc226 před 2 roky
rodič
revize
a8067c0c65
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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
       })