|
@@ -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)=>{
|