Merge branch 'StableVersion' of ssh://18.167.251.121:10002/aidlab/aida_front into StableVersion
This commit is contained in:
@@ -853,9 +853,7 @@ export default defineComponent({
|
||||
level2Type = this.sketchboardList?.[0]?.categoryValue
|
||||
? this.sketchboardList[0].categoryValue
|
||||
: ''
|
||||
if (this.workspace.styleName) {
|
||||
sloganText = `${this.workspace.styleName},${sloganText}`
|
||||
}
|
||||
sloganText = `${this.workspace.styleName || 'all'},${sloganText}`
|
||||
} else if (this.upload.level1Type == 'Printboard') {
|
||||
level2Type = this.scene?.value
|
||||
if (level2Type == 'Slogan' && this.searchPictureName == '') {
|
||||
|
||||
@@ -74,7 +74,8 @@ const Workspace: Module<DesignDetail, RootState> = {
|
||||
},
|
||||
setProbject(state, data) {
|
||||
for (const key in data) {
|
||||
if (data[key] == undefined) continue
|
||||
let list = ['styleName','styleId','style']
|
||||
if (data[key] == undefined && !list.includes(key)) continue
|
||||
state.probjects[key] = data[key]
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1721,9 +1721,8 @@ export default defineComponent({
|
||||
sloganText = this.captionGeneration
|
||||
if(this.selectCode == "Sketchboard"){
|
||||
level2Type = this.selectGenerateList?.[0]?.categoryValue?this.selectGenerateList[0].categoryValue:''
|
||||
if(this.workspace.styleName){
|
||||
sloganText = `${this.workspace.styleName},${sloganText}`
|
||||
}
|
||||
// sloganText = `${this.workspace.styleName || 'all'},${sloganText}`
|
||||
sloganText = `'all',${sloganText}`
|
||||
}else if(this.selectCode == "Printboard"){
|
||||
level2Type = this.scene?.value
|
||||
if(level2Type == 'Slogan' && this.captionGeneration == ''){
|
||||
|
||||
Reference in New Issue
Block a user