mirror of
https://gitee.com/xiaonuobase/snowy.git
synced 2026-10-06 06:52:58 +08:00
【底座】修复 #IJZRHA 编辑C端用户时,编辑输入内容表格中的内容也随着变化的bug
This commit is contained in:
@@ -195,6 +195,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { cloneDeep } from 'lodash-es'
|
||||
import clientUserApi from '@/api/client/clientUserApi'
|
||||
import { required } from '@/utils/formRules'
|
||||
import tool from '@/utils/tool'
|
||||
@@ -210,7 +211,7 @@
|
||||
const onOpen = (record) => {
|
||||
visible.value = true
|
||||
if (record) {
|
||||
formData.value = record
|
||||
formData.value = cloneDeep(record)
|
||||
} else {
|
||||
formData.value = {
|
||||
gender: '男'
|
||||
|
||||
Reference in New Issue
Block a user