mirror of
https://github.com/chillzhuang/Saber.git
synced 2024-11-25 20:09:27 +08:00
⚡ 优化代码
This commit is contained in:
parent
6ae37e2753
commit
30cfb38ffb
@ -86,7 +86,6 @@
|
|||||||
index: true,
|
index: true,
|
||||||
selection: true,
|
selection: true,
|
||||||
viewBtn: true,
|
viewBtn: true,
|
||||||
calcHeight:800,
|
|
||||||
column: [
|
column: [
|
||||||
{
|
{
|
||||||
label: "登录账号",
|
label: "登录账号",
|
||||||
@ -103,13 +102,17 @@
|
|||||||
label: '密码',
|
label: '密码',
|
||||||
prop: 'password',
|
prop: 'password',
|
||||||
hide: true,
|
hide: true,
|
||||||
rules: [{validator: validatePass, trigger: 'blur'}]
|
editDisplay: false,
|
||||||
|
viewDisplay: false,
|
||||||
|
rules: [{required: true, validator: validatePass, trigger: 'blur'}]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '确认密码',
|
label: '确认密码',
|
||||||
prop: 'password2',
|
prop: 'password2',
|
||||||
hide: true,
|
hide: true,
|
||||||
rules: [{validator: validatePass2, trigger: 'blur'}]
|
editDisplay: false,
|
||||||
|
viewDisplay: false,
|
||||||
|
rules: [{required: true, validator: validatePass2, trigger: 'blur'}]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "用户昵称",
|
label: "用户昵称",
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
let baseUrl = './'
|
let baseUrl = './'
|
||||||
let url = 'http://localhost:8800'
|
let url = 'http://localhost:8800'
|
||||||
module.exports = {
|
module.exports = {
|
||||||
baseUrl: baseUrl, // 根据你的实际情况更改这里
|
publicPath: baseUrl, // 根据你的实际情况更改这里
|
||||||
lintOnSave: true,
|
lintOnSave: true,
|
||||||
productionSourceMap: false,
|
productionSourceMap: false,
|
||||||
chainWebpack: (config) => {
|
chainWebpack: (config) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user