This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
fix issue edit topic
tags/v1.21.12.1
zhoupzh
4 years ago
parent
d02b241b79
commit
d5be3f9b60
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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){
Write
Preview
Loading…
Cancel
Save