fix
This commit is contained in:
@@ -251,6 +251,7 @@ export default defineComponent({
|
||||
})
|
||||
if(!this.current.id){
|
||||
data.designSingleItemDTOList[index].priority = zIndex+=1
|
||||
|
||||
}
|
||||
if(this.type_ == 1){
|
||||
if(data.designSingleItemDTOList[index].path != this.sketchImg.minIOPath && this.sketchImg.id_){
|
||||
@@ -267,30 +268,7 @@ export default defineComponent({
|
||||
let color = `${this.$parent.selectColor.rgba.r} ${this.$parent.selectColor.rgba.g} ${this.$parent.selectColor.rgba.b}`
|
||||
data.designSingleItemDTOList[index].color = color
|
||||
}
|
||||
// if(!bor){
|
||||
// index = designItemDetail.clothes.length
|
||||
// let color = `${this.$parent.selectColor.rgba.r} ${this.$parent.selectColor.rgba.g} ${this.$parent.selectColor.rgba.b}`
|
||||
// let obj = {
|
||||
// "color": color,
|
||||
// "id": this.sketchImg.id_? this.sketchImg.id_:this.current.id_,
|
||||
// "path": this.sketchImg.minIOPath? this.sketchImg.minIOPath: this.current.minIOPath,
|
||||
// "offset": [
|
||||
// 0,
|
||||
// 0
|
||||
// ],
|
||||
// "scale": 1,
|
||||
// "printObject": {
|
||||
// "ifSingle": false,
|
||||
// "prints": [
|
||||
// ]
|
||||
// },
|
||||
// priority:zIndex,
|
||||
// "type": this.sketchImg.type
|
||||
// }
|
||||
// // data.designSingleItemDTOList.push(obj)
|
||||
// // designItemDetail.clothes.push(obj)
|
||||
// }
|
||||
// return
|
||||
|
||||
data.timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone
|
||||
this.loadingShow = true
|
||||
Https.axiosPost(Https.httpUrls.designSingle, data).then(
|
||||
@@ -310,7 +288,7 @@ export default defineComponent({
|
||||
}else{
|
||||
|
||||
}
|
||||
if(!designItemDetail.clothes[index].id){
|
||||
if(!this.current.id ){
|
||||
designItemDetail.clothes[index].priority = zIndex
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user