修复design切换衣服后修改衣服的designType导致再次进行添加衣服会重复添加
This commit is contained in:
@@ -54,7 +54,8 @@ export default defineComponent({
|
|||||||
const getDetailListData = reactive({
|
const getDetailListData = reactive({
|
||||||
|
|
||||||
})
|
})
|
||||||
const selectImgItem = (file:any)=>{
|
const selectImgItem = (data:any)=>{
|
||||||
|
let file = JSON.parse(JSON.stringify(data))
|
||||||
if(props.type != 'models'){
|
if(props.type != 'models'){
|
||||||
if(!file.resData?.minIOPath){
|
if(!file.resData?.minIOPath){
|
||||||
file.minIOPath = getMinioUrl(file?.imgUrl || file?.resData?.url)
|
file.minIOPath = getMinioUrl(file?.imgUrl || file?.resData?.url)
|
||||||
|
|||||||
Reference in New Issue
Block a user