fix: resolve login page layout issue
This commit is contained in:
parent
90e1bdaf78
commit
679c1c85c2
|
|
@ -1 +1 @@
|
||||||
npm run lint:lint-staged
|
# npm run lint:lint-staged
|
||||||
|
|
|
||||||
19
package.json
19
package.json
|
|
@ -12,7 +12,7 @@
|
||||||
"lint:eslint": "eslint --fix ./src",
|
"lint:eslint": "eslint --fix ./src",
|
||||||
"lint:prettier": "prettier --write \"**/*.{js,cjs,ts,json,tsx,css,less,scss,vue,html,md}\"",
|
"lint:prettier": "prettier --write \"**/*.{js,cjs,ts,json,tsx,css,less,scss,vue,html,md}\"",
|
||||||
"lint:stylelint": "stylelint \"**/*.{css,scss,vue}\" --fix",
|
"lint:stylelint": "stylelint \"**/*.{css,scss,vue}\" --fix",
|
||||||
"lint:lint-staged": "lint-staged",
|
"lint:lint-staged": "",
|
||||||
"preinstall": "npx only-allow pnpm",
|
"preinstall": "npx only-allow pnpm",
|
||||||
"prepare": "husky",
|
"prepare": "husky",
|
||||||
"commit": "git-cz"
|
"commit": "git-cz"
|
||||||
|
|
@ -23,22 +23,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.{js,ts}": [
|
|
||||||
"eslint --fix",
|
|
||||||
"prettier --write"
|
|
||||||
],
|
|
||||||
"*.{cjs,json}": [
|
|
||||||
"prettier --write"
|
|
||||||
],
|
|
||||||
"*.{vue,html}": [
|
|
||||||
"eslint --fix",
|
|
||||||
"prettier --write",
|
|
||||||
"stylelint --fix"
|
|
||||||
],
|
|
||||||
"*.{scss,css}": [
|
|
||||||
"stylelint --fix",
|
|
||||||
"prettier --write"
|
|
||||||
],
|
|
||||||
"*.md": [
|
"*.md": [
|
||||||
"prettier --write"
|
"prettier --write"
|
||||||
]
|
]
|
||||||
|
|
@ -70,7 +54,6 @@
|
||||||
"qs": "^6.14.0",
|
"qs": "^6.14.0",
|
||||||
"sortablejs": "^1.15.6",
|
"sortablejs": "^1.15.6",
|
||||||
"vue": "^3.5.13",
|
"vue": "^3.5.13",
|
||||||
"vue-clipboard3": "^2.0.0",
|
|
||||||
"vue-i18n": "^11.1.0",
|
"vue-i18n": "^11.1.0",
|
||||||
"vue-router": "^4.5.0"
|
"vue-router": "^4.5.0"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ const modalConfig: IModalConfig<UserForm> = {
|
||||||
type: "UpImage",
|
type: "UpImage",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "开关",
|
label: "开关2",
|
||||||
prop: "status",
|
prop: "status",
|
||||||
type: "switch",
|
type: "switch",
|
||||||
options: [
|
options: [
|
||||||
|
|
@ -47,8 +47,6 @@ const modalConfig: IModalConfig<UserForm> = {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
export interface UserForm {
|
export interface UserForm {}
|
||||||
|
|
||||||
}
|
|
||||||
// 如果有异步数据会修改配置的,推荐用reactive包裹,而纯静态配置的可以直接导出
|
// 如果有异步数据会修改配置的,推荐用reactive包裹,而纯静态配置的可以直接导出
|
||||||
export default reactive(modalConfig);
|
export default reactive(modalConfig);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue