优化打包目录

This commit is contained in:
X1627315083
2025-09-04 13:10:18 +08:00
parent 578817def4
commit 4dc5e26d92
20 changed files with 110 additions and 47 deletions

View File

@@ -213,16 +213,16 @@ export default defineComponent({
//获取列表
gettrialList() {
let startTime: any = this.rangeTimeValue[0]
let startTime: any = this.rangeTimeValue?.[0]
? this.rangeTimeValue[0]
: '00:00:00';
let endTime: any = this.rangeTimeValue[1]
let endTime: any = this.rangeTimeValue?.[1]
? this.rangeTimeValue[1]
: '23:59:59';
let startDate: any = this.rangePickerValue[0]
let startDate: any = this.rangePickerValue?.[0]
? this.rangePickerValue[0]+' '+startTime
: "";
let endDate: any = this.rangePickerValue[1]
let endDate: any = this.rangePickerValue?.[1]
? this.rangePickerValue[1]+' '+endTime
: "";
let ids = this.ids.join(',')

View File

@@ -201,16 +201,16 @@ export default defineComponent({
//获取列表
gettrialList() {
let startTime: any = this.rangeTimeValue[0]
let startTime: any = this.rangeTimeValue?.[0]
? this.rangeTimeValue[0]
: '00:00:00';
let endTime: any = this.rangeTimeValue[1]
let endTime: any = this.rangeTimeValue?.[1]
? this.rangeTimeValue[1]
: '23:59:59';
let startDate: any = this.rangePickerValue[0]
let startDate: any = this.rangePickerValue?.[0]
? this.rangePickerValue[0]+' '+startTime
: "";
let endDate: any = this.rangePickerValue[1]
let endDate: any = this.rangePickerValue?.[1]
? this.rangePickerValue[1]+' '+endTime
: "";
let data = {

View File

@@ -278,8 +278,8 @@ export default defineComponent({
//获取列表
gettrialList() {
let startTime: any = this.rangeTimeValue[0]
? this.rangeTimeValue[0]
let startTime: any = this.rangeTimeValue?.[0]
? this.rangeTimeValue?.[0]
: '00:00:00';
let endTime: any = this.rangeTimeValue[1]
? this.rangeTimeValue[1]

View File

@@ -375,10 +375,10 @@ export default defineComponent({
// let endTime: any = this.rangeTimeValue[1]
// ? this.rangeTimeValue[1]
// : '23:59:59';
let startDate: any = this.rangePickerValue[0]
let startDate: any = this.rangePickerValue?.[0]
? this.rangePickerValue[0]+' '+'00:00:00'
: "";
let endDate: any = this.rangePickerValue[1]
let endDate: any = this.rangePickerValue?.[1]
? this.rangePickerValue[1]+' '+'23:59:59'
: "";
let data = {

View File

@@ -186,7 +186,7 @@ export default defineComponent({
})
}
const frontBackChange = (value:any)=>{
let full = detailData.frontBack.front[detailData.imgDomIndex].undividedLayer
let full = detailData.frontBack.front[detailData.imgDomIndex].undividedLayer || detailData.frontBack.front[detailData.imgDomIndex].imageUrl
let size = {
...detailData.canvasConfig,
}

View File

@@ -266,9 +266,7 @@ export default defineComponent({
if(isOpen){
emit('canvasReload')
store.commit('DesignDetail/setDesignColthes',detailData.frontBack.front[index].id)
return
}
if(isModal)return
store.commit('DesignDetail/setDesignColthes',detailData.frontBack.front[index].id)
selectItem.imgDomIndex = index

View File

@@ -1466,7 +1466,7 @@ export default defineComponent({
sessionStorage.setItem('collValue',JSON.stringify(this.collValue))
if(this.$props.isState)this.sortDesignCollection()
// window.removeEventListener('resize', this.setItemPosition)
this.observerData.observer.unobserve(this.$refs.rightContentBlockBox);
if(this.observerData?.observer)this.observerData.observer.unobserve(this.$refs.rightContentBlockBox);
},
async mounted() {
// if(window.innerWidth < 1200){

View File

@@ -52,7 +52,6 @@ export default defineComponent({
chatData:null as any,
dataLoad:true as any,
})
console.log(data.selectObject)
let settingGetHistory:any = inject('settingGetHistory')
const setIsShowMark = (boolean:boolean)=>{
data.isShowMark = boolean

View File

@@ -553,7 +553,7 @@ export default defineComponent({
nextTick(()=>{
let list = store.state.HomeStoreModule.poseTransfer.list
let taskIdList = list.filter((item:any)=>!item.videoUrl)[0]
if(taskIdList.length > 0){
if(taskIdList?.length > 0){
data.isGenerate = true
data.remGenerate = true
setGenerate(taskIdList[0].taskId)

View File

@@ -867,7 +867,7 @@ export default defineComponent({
list = store.state.HomeStoreModule.relightList.list || []
}
let taskIdList = list.filter((item:any)=>!item?.url)
if(taskIdList.length > 0){
if(taskIdList?.length > 0){
let arr:any = []
taskIdList.forEach((item:any)=>{
arr.push(item.taskId)