This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
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
Merge pull request 'V20220718.patch' (
#2529
) from V20220718.patch into develop
Reviewed-on:
https://git.openi.org.cn/OpenI/aiforge/pulls/2529
tags/v1.22.7.1
lewis
3 years ago
parent
f793b63b01
287c94f7a5
commit
e38da7bdf2
3 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
templates/repo/modelmanage/convertIndex.tmpl
+1
-1
templates/user/auth/bind_phone.tmpl
+1
-1
web_src/js/standalone/phoneverify.js
+ 1
- 1
templates/repo/modelmanage/convertIndex.tmpl
View File
@@ -478,7 +478,7 @@
}
function loadModelList(){
$.get(`${repolink}/modelmanage/query_model_for_predict?repoId=${repoId}`, (data) => {
$.get(`${repolink}/modelmanage/query_model_for_predict?repoId=${repoId}
&type=-1
`, (data) => {
modelData = data
let nameList = data.nameList
const n_length = nameList.length
+ 1
- 1
templates/user/auth/bind_phone.tmpl
View File
@@ -40,7 +40,7 @@
var verifyCode = bindPhoneEl.find('input.verifyCode').val();
if (phoneNumber && verifyCode) {
e.preventDefault();
if (!/^1[3
578
]\d{9}$/.test(phoneNumber)) {
if (!/^1[3
-9
]\d{9}$/.test(phoneNumber)) {
bindPhoneEl.find('.ui.negative.message').show().find('p').text({{.i18n.Tr "phone.please_enter_the_correct_mobile_number"}});
return;
}
+ 1
- 1
web_src/js/standalone/phoneverify.js
View File
@@ -153,7 +153,7 @@
return;
}
var phoneNumber = self.dom.find('.phone-num-c input').val();
if (!/^1[3
578
]\d{9}$/.test(phoneNumber)) {
if (!/^1[3
-9
]\d{9}$/.test(phoneNumber)) {
self.dom.find('.phone-num-c').addClass('error');
return;
} else {
Write
Preview
Loading…
Cancel
Save