@@ -181,7 +181,7 @@ module.exports = {
}
}], //换行时运算符在行尾还是行首
'padded-blocks': 0, //块语句内行首行尾是否要空行
- 'quotes': [2, 'single', {
+ 'quotes': [0, 'single', {
'avoidEscape': true,
'allowTemplateLiterals': true
}], //引号类型 `` "" ''
@@ -127,7 +127,6 @@ export const tableOption = {
{
label: '岗位',
prop: 'post',
- width: 168,
overHidden: true,
formslot: true,
slot: true,
@@ -119,7 +119,7 @@ export default {
this.loginByUsername()
},
loginByUsername() {
- this.$store.dispatch("LoginByUsername", this.loginForm).then(() => {
+ this.$store.dispatch("LoginByUsername", Object.assign({}, this.loginForm)).then(() => {
this.$router.push({path: this.tagWel.value});
});