Showing
1 changed file
with
6 additions
and
0 deletions
@@ -537,7 +537,13 @@ $(document).on("change", ".observe", function () { | @@ -537,7 +537,13 @@ $(document).on("change", ".observe", function () { | ||
537 | common.util.__tip("url必须以https开头!", "warning"); | 537 | common.util.__tip("url必须以https开头!", "warning"); |
538 | $this.val(''); | 538 | $this.val(''); |
539 | } | 539 | } |
540 | + //规定填写url数据格式,不符合则清空 | ||
541 | + if(urlVal.indexOf('yohobuy.com') == -1 && urlVal.indexOf('yoho.cn') == -1 && urlVal.indexOf('yhbimg.com') == -1){ | ||
542 | + common.util.__tip('url一级域名必须是"yohobuy.com"或者"yoho.cn"或者"yhbimg.com"的内网地址,请确认!',"warning"); | ||
543 | + $this.val(''); | ||
544 | + } | ||
540 | } | 545 | } |
546 | + | ||
541 | } | 547 | } |
542 | } | 548 | } |
543 | //showDivide check事件 | 549 | //showDivide check事件 |
-
Please register or login to post a comment