2023-11-20-1

This commit is contained in:
X1627315083
2023-11-20 09:47:10 +08:00
parent 2ed15a165b
commit 4f26d58ca8
12 changed files with 63 additions and 22 deletions

View File

@@ -310,8 +310,8 @@ export default defineComponent({
// })
// this.store.commit("addGenerateFils", this.fileList);
this.token = getCookie("token") || "";
this.isTest = getCookie("isTest");
let isTest:any = getCookie('isTest')
this.isTest =JSON.parse(isTest)|| ''
this.uploadUrl = getUploadUrl();
this.workspace = this.store.state.Workspace.workspace
},
@@ -460,7 +460,7 @@ export default defineComponent({
this.inputTime = setTimeout(()=>{
// let num1 = ((input as HTMLInputElement).value.match(/ /g) || []).length
// let num2 = (input as HTMLInputElement).value.split(' ').length
if(this.searchPictureName.split(/\s+/).length > 75){
if(this.searchPictureName?.split(/\s+/).length > 75){
this.inputShow = true
}else{
this.inputShow = false