resolve conflict
This commit is contained in:
commit
a95f623f33
@ -49,11 +49,11 @@ export default {
|
||||
* 检测属性是否正确
|
||||
*/
|
||||
validateProperties(str = '') {
|
||||
let reg = /^[A-Za-z\d-_]+=.+$/;
|
||||
const reg = /^[^=]+=[^=]+$/;
|
||||
return str
|
||||
.replace('\n\r', '\n')
|
||||
.split('\n')
|
||||
.every(_str => reg.test(_str));
|
||||
.every(_str => reg.test(_str.trim()));
|
||||
},
|
||||
|
||||
/**
|
||||
|
File diff suppressed because one or more lines are too long
4
pom.xml
4
pom.xml
@ -241,8 +241,8 @@
|
||||
<exclude>src/test/resources/*</exclude>
|
||||
<exclude>src/main/resources/static/**/*.js</exclude>
|
||||
<exclude>src/main/resources/**/*.svg</exclude>
|
||||
<exclude>src/main/resources/static/css/console1412.css</exclude>
|
||||
<exclude>src/main/resources/static/js/vs/**/*</exclude>
|
||||
<exclude>src/main/resources/static/css/*</exclude>
|
||||
<exclude>src/main/resources/static/js/*</exclude>
|
||||
<exclude>src/main/resources/static/console-fe/public/css/console1412.css</exclude>
|
||||
<exclude>src/main/resources/static/console-fe/public/js/vs/editor/editor.main.css</exclude>
|
||||
<exclude>src/main/resources/static/console-fe/dist/js/vs/editor/editor.main.css</exclude>
|
||||
|
Loading…
Reference in New Issue
Block a user