|
@@ -1098,13 +1098,13 @@ export default {
|
|
|
/** 提交按钮 */
|
|
|
submitForm: function () {
|
|
|
|
|
|
- this.onDomainBlur();
|
|
|
+ // this.onDomainBlur();
|
|
|
|
|
|
- const domainPattern = /^http:\/\/([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}$/;
|
|
|
- if (this.form.domain!=null && !domainPattern.test(this.form.domain)) {
|
|
|
- this.$message.error('请输入正确格式的域名,如:http://xxx.xxx.com');
|
|
|
- return;
|
|
|
- }
|
|
|
+ // const domainPattern = /^http:\/\/([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}$/;
|
|
|
+ // if (this.form.domain!=null && !domainPattern.test(this.form.domain)) {
|
|
|
+ // this.$message.error('请输入正确格式的域名,如:http://xxx.xxx.com');
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
|
|
|
this.$refs["form"].validate((valid) => {
|
|
|
if (valid) {
|