Browse Source

fix issue edit topic

tags/v1.21.12.1
zhoupzh 4 years ago
parent
commit
d5be3f9b60
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      web_src/js/components/EditTopics.vue

+ 3
- 0
web_src/js/components/EditTopics.vue View File

@@ -209,6 +209,9 @@ export default {
})
},
postTopic(){
if(showInputValue){
return
}
const patter = /^[\u4e00-\u9fa5a-zA-Z0-9][\u4e00-\u9fa5a-zA-Z0-9-]{0,34}$/
let regexp = patter.test(this.input)
if(!regexp){


Loading…
Cancel
Save