2023-11-21-dist
This commit is contained in:
@@ -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){
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user