优化打包目录
This commit is contained in:
@@ -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(',')
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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){
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user