fix
This commit is contained in:
@@ -793,17 +793,18 @@ export default defineComponent({
|
||||
searchLabel.init(data,type)
|
||||
return
|
||||
},
|
||||
upLoad(){
|
||||
|
||||
},
|
||||
uploadGenerateOpen(str:any){
|
||||
// if(str == 'Generate'){
|
||||
// if(this.selectCode == 'Printboard'){
|
||||
// this.scene = this.designTypeList[this.selectCode][0]
|
||||
// }
|
||||
// }
|
||||
this.scene = this.designTypeList[this.selectCode][0]
|
||||
if(this.designTypeList[this.selectCode][0]){
|
||||
this.scene = this.designTypeList[this.selectCode][0]
|
||||
this.designType = this.designTypeList[this.selectCode][0].value
|
||||
}
|
||||
|
||||
|
||||
if(this.uploadGenerate == 'Generate'){
|
||||
if(str != 'Generate'){
|
||||
this.getLibraryList('')
|
||||
@@ -1336,6 +1337,7 @@ export default defineComponent({
|
||||
if(rv.filter((item:any)=>item.status == 'Invalid').length == dataNum){
|
||||
message.info(this.t('Generate.effectPoor'));
|
||||
}
|
||||
this.store.dispatch('getCredits')
|
||||
clearInterval(this.generateTime[str])
|
||||
clearInterval(this.remGenerateTime[str])
|
||||
this.remGenerate[str] = false
|
||||
|
||||
Reference in New Issue
Block a user