Browse Source

fix update flow

allen 2 năm trước cách đây
mục cha
commit
6b9182aa16
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/views/suport/flow/index.vue

+ 2 - 2
src/views/suport/flow/index.vue

@@ -164,7 +164,7 @@
 </template>
 
 <script>
-import { listFlow, getFlow, delFlow, addFlow, updateFlow } from "@/api/suport/flow";
+import { listFlow, getInfo, delFlow, addFlow, updateFlow } from "@/api/suport/flow";
 import { getToken } from "@/utils/auth";
 
 export default {
@@ -279,7 +279,7 @@ export default {
     handleUpdate(row) {
       this.reset();
       const id = row.id || this.ids
-      getFlow(id).then(response => {
+      getInfo(id).then(response => {
         this.form = response.data;
         this.open = true;
         this.title = "修改故障名称";