布局修改 部分bug修复
This commit is contained in:
@@ -943,7 +943,7 @@ export default defineComponent({
|
||||
position: absolute;
|
||||
right: 1rem;
|
||||
top: 1rem;
|
||||
opacity: 0;
|
||||
// opacity: 0;
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
transition: all 0.2s ease-in-out;
|
||||
|
||||
@@ -895,7 +895,7 @@ export default defineComponent({
|
||||
position: absolute;
|
||||
right: 1rem;
|
||||
top: 1rem;
|
||||
opacity: 0;
|
||||
// opacity: 0;
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
transition: all 0.2s ease-in-out;
|
||||
|
||||
@@ -107,17 +107,26 @@ export default defineComponent({
|
||||
originalIdSource:props.item.resData.designType,
|
||||
type:props.level1Type,
|
||||
}
|
||||
console.log(data)
|
||||
Https.axiosPost(Https.httpUrls.modifySketch, data).then(
|
||||
(rv) => {
|
||||
rv.imgUrl = rv.url
|
||||
rv.status = 'Success'
|
||||
rv.resData = {
|
||||
id:rv.id,
|
||||
designType:props.item.resData.designType,
|
||||
// rv.imgUrl = rv.url
|
||||
// rv.status = 'Success'
|
||||
// rv.resData = {
|
||||
// id:rv.id,
|
||||
// designType:props.item.resData.designType,
|
||||
// }
|
||||
// rv.category = props.item?.category
|
||||
// rv.categoryValue = props.item?.categoryValue
|
||||
if(isOverlay){
|
||||
props.list[props.index].imgUrl = rv.url
|
||||
props.list[props.index].resData = {
|
||||
id:rv.id,
|
||||
designType:props.item.resData.designType,
|
||||
}
|
||||
}else{
|
||||
props.list.unshift(rv)
|
||||
}
|
||||
rv.category = props.item?.category
|
||||
rv.categoryValue = props.item?.categoryValue
|
||||
isOverlay?(props.list[props.index] = rv):(props.list.unshift(rv))
|
||||
}
|
||||
).catch(res=>{
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user