fix
This commit is contained in:
@@ -645,7 +645,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 > 250){
|
||||
(this.$refs.inputShowText as any).innerHTML = this.t('Generate.maximumLength')
|
||||
this.inputShow = true
|
||||
}else{
|
||||
|
||||
@@ -663,7 +663,7 @@ export default defineComponent({
|
||||
},
|
||||
ifMaximumLength(){
|
||||
this.inputTime = setTimeout(()=>{
|
||||
if(this.captionGeneration?.split(/\s+/).length > 75){
|
||||
if(this.captionGeneration?.split(/\s+/).length > 250){
|
||||
(this.$refs.inputShowText as any).innerHTML = this.t('PrintboardUpload.maximumLength')
|
||||
this.inputShow = true
|
||||
}else{
|
||||
|
||||
@@ -517,7 +517,7 @@ export default defineComponent({
|
||||
// let num1 = ((input as HTMLInputElement).value.match(/ /g) || []).length
|
||||
// let num2 = (input as HTMLInputElement).value.split(' ').length
|
||||
|
||||
if(this.captionGeneration?.split(/\s+/).length > 75){
|
||||
if(this.captionGeneration?.split(/\s+/).length > 250){
|
||||
(this.$refs.inputShowText as any).innerHTML = this.t('SketchboardUpload.maximumLength')
|
||||
this.inputShow = true
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user