Ver código fonte

更新依赖

ZaiZai 1 ano atrás
pai
commit
2c30a8c385
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/views/tasks/flow.vue

+ 2 - 2
src/views/tasks/flow.vue

@@ -75,7 +75,7 @@
 <script setup>
 import { nextTick, onActivated, ref } from 'vue'
 import { useAppStore } from '~src/store'
-import { formValidate, getArrValue, getObjValue } from 'js-fast-way'
+import { deepClone, formValidate, getArrValue, getObjValue } from 'js-fast-way'
 import tasksFlowApi from '~api/tasks/flow'
 import { delMessage } from '~uti/tools'
 
@@ -202,7 +202,7 @@ const sevaLoading = ref(false)
 const saveFormClick = async () => {
     const isValidate = await formValidate(formFlowRef.value)
     if (!isValidate) return false
-    const form = flowFormData.value
+    const form = deepClone(flowFormData.value)
     console.log(form, 'form')
     const fixedBranchList = form.fixedBranchList
     fixedBranchList.forEach((ele)=>{