Merge branch 'StableVersion' of ssh://18.167.251.121:10002/aidlab/aida_front into StableVersion

This commit is contained in:
2026-03-23 14:08:42 +08:00
3 changed files with 5 additions and 7 deletions

View File

@@ -853,9 +853,7 @@ export default defineComponent({
level2Type = this.sketchboardList?.[0]?.categoryValue level2Type = this.sketchboardList?.[0]?.categoryValue
? this.sketchboardList[0].categoryValue ? this.sketchboardList[0].categoryValue
: '' : ''
if (this.workspace.styleName) { sloganText = `${this.workspace.styleName || 'all'},${sloganText}`
sloganText = `${this.workspace.styleName},${sloganText}`
}
} else if (this.upload.level1Type == 'Printboard') { } else if (this.upload.level1Type == 'Printboard') {
level2Type = this.scene?.value level2Type = this.scene?.value
if (level2Type == 'Slogan' && this.searchPictureName == '') { if (level2Type == 'Slogan' && this.searchPictureName == '') {

View File

@@ -74,7 +74,8 @@ const Workspace: Module<DesignDetail, RootState> = {
}, },
setProbject(state, data) { setProbject(state, data) {
for (const key in 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] state.probjects[key] = data[key]
} }
}, },

View File

@@ -1721,9 +1721,8 @@ export default defineComponent({
sloganText = this.captionGeneration sloganText = this.captionGeneration
if(this.selectCode == "Sketchboard"){ if(this.selectCode == "Sketchboard"){
level2Type = this.selectGenerateList?.[0]?.categoryValue?this.selectGenerateList[0].categoryValue:'' level2Type = this.selectGenerateList?.[0]?.categoryValue?this.selectGenerateList[0].categoryValue:''
if(this.workspace.styleName){ // sloganText = `${this.workspace.styleName || 'all'},${sloganText}`
sloganText = `${this.workspace.styleName},${sloganText}` sloganText = `'all',${sloganText}`
}
}else if(this.selectCode == "Printboard"){ }else if(this.selectCode == "Printboard"){
level2Type = this.scene?.value level2Type = this.scene?.value
if(level2Type == 'Slogan' && this.captionGeneration == ''){ if(level2Type == 'Slogan' && this.captionGeneration == ''){