2023-11-21-dist

This commit is contained in:
X1627315083
2023-11-21 10:22:01 +08:00
parent 7e719485a1
commit 4271d5ecf8
21 changed files with 65 additions and 62 deletions

View File

@@ -400,12 +400,12 @@ export default defineComponent({
);
return
}
if(!this.searchPictureName){
message.info(
this.t('Generate.jsContent3')
);
return
}
// if(!this.searchPictureName){
// message.info(
// this.t('Generate.jsContent3')
// );
// return
// }
if(this.searchPictureName){
let arr = this.searchPictureName.split(/\s+/).length
if(arr > 75){

View File

@@ -503,12 +503,12 @@ export default defineComponent({
},500)
},
getgenerate(){
// if(this.isTest){//试用用户禁止使用
// message.warning(
// this.t('isTest.available')
// );
// return
// }
if(this.isTest){//试用用户禁止使用
message.warning(
this.t('isTest.available')
);
return
}
//如果是通过moodboard随即图片生成
let generage:any = this.$refs.Generate
let generateType = generage.checkbox.filter((v:any)=>v.type)[0].name

View File

@@ -341,7 +341,8 @@ export default defineComponent({
},
mounted() {
this.token = getCookie("token") || "";
this.isTest = getCookie('isTest') || ''
let isTest:any = getCookie('isTest')
this.isTest =JSON.parse(isTest)
this.uploadUrl = getUploadUrl();
this.workspaceCom = computed(()=>{
return this.store?.state?.Workspace?.workspace