选择风格变为生成四个,调整渐变按钮样式
This commit is contained in:
@@ -15,7 +15,12 @@ export const useGenerateStore = defineStore({
|
||||
isLike: false, //是否喜欢
|
||||
status: ''
|
||||
},
|
||||
styleList: [{}, {}, {}, {}],
|
||||
styleList: [
|
||||
{id:'',taskId:'',status:'',path:''},
|
||||
{id:'',taskId:'',status:'',path:''},
|
||||
{id:'',taskId:'',status:'',path:''},
|
||||
{id:'',taskId:'',status:'',path:''},
|
||||
],
|
||||
model: {
|
||||
id: ''
|
||||
},
|
||||
@@ -98,6 +103,12 @@ export const useGenerateStore = defineStore({
|
||||
taskId:'',
|
||||
status: ''
|
||||
}
|
||||
this.styleList = [
|
||||
{id:'',taskId:'',status:'',path:''},
|
||||
{id:'',taskId:'',status:'',path:''},
|
||||
{id:'',taskId:'',status:'',path:''},
|
||||
{id:'',taskId:'',status:'',path:''},
|
||||
]
|
||||
},
|
||||
//模特相关
|
||||
selectModel(data: any) {
|
||||
@@ -107,7 +118,12 @@ export const useGenerateStore = defineStore({
|
||||
this.isGenerate = isGenerate
|
||||
},
|
||||
clearProductData() {
|
||||
this.styleList = [{}, {}, {}, {}]
|
||||
this.styleList = [
|
||||
{id:'',taskId:'',status:'',path:''},
|
||||
{id:'',taskId:'',status:'',path:''},
|
||||
{id:'',taskId:'',status:'',path:''},
|
||||
{id:'',taskId:'',status:'',path:''},
|
||||
]
|
||||
this.style = {
|
||||
id: '',
|
||||
path: '',
|
||||
|
||||
Reference in New Issue
Block a user