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

@@ -221,7 +221,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()
},
methods:{
@@ -494,7 +495,7 @@ export default defineComponent({
ifMaximumLength(){
clearTimeout(this.inputTime)
this.inputTime = setTimeout(()=>{
if(this.captionGeneration.split(/\s+/).length > 75){
if(this.captionGeneration?.split(/\s+/).length > 75){
this.inputShow = true
}else{
this.inputShow = false