Browse Source

登录时密码输入框高度不足,Placeholder显示不完整, 顶部缺失

master
sige 1 year ago
parent
commit
69b5c5acd5
  1. 15
      publish.ps1
  2. 2
      src/components/LoginForm.vue

15
publish.ps1

@ -1,5 +1,5 @@
Param(
[Switch] $Prod = $false
[String]$Exec="Deploy"
)
# 用于执行shell命令
@ -9,6 +9,13 @@ function Exec-Shell-Cmd {
ssh root:zwsd@192.168.8.11 "cd /frontend && $Cmd"
}
if ( $Exec -eq "DevDisable" ) {
Exec-Shell-Cmd "rm /var/zapp_flag/chrome_in_test_mode";
Exec-Shell-Cmd "reboot"
} elseif ( $Exec -eq "DevEnable" ) {
Exec-Shell-Cmd "touch /var/zapp_flag/chrome_in_test_mode";
Exec-Shell-Cmd "reboot"
} elseif ( $Exec -eq "Deploy" ) {
# build project
yarn build
# rename dist to current time, like 20221215121300
@ -29,10 +36,4 @@ Exec-Shell-Cmd "rm -f app.zip"
Remove-Item -Path ./app.zip
# remove folder
Remove-Item -Path ./$now -Recurse
# 创建测试模式标记
Exec-Shell-Cmd "touch /var/zapp_flag/chrome_in_test_mode"
if ($Prod) {
# 删除测试模式标记
Exec-Shell-Cmd "rm /var/zapp_flag/chrome_in_test_mode"
}

2
src/components/LoginForm.vue

@ -159,7 +159,7 @@ const handleLogin = () => {
border: none;
outline: none;
width: 253px;
height: 17px;
height: 20px;
position: absolute;
left: 120px;
top: 209px;

Loading…
Cancel
Save