2023-11-20-1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user