Polish web dist verification

This commit is contained in:
2026-06-10 14:33:27 +08:00
parent 7db3de223c
commit 4280f43850
3 changed files with 115 additions and 15 deletions
+1 -15
View File
@@ -11,22 +11,8 @@
name="viewport"
content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"
/>
<!-- 由 vite 注入 VITE_APP_TITLE 变量,在 .env 文件内配置 -->
<title><%= VITE_APP_TITLE %></title>
<link rel="icon" href="/favicon.ico" />
<script>
// 生产环境下注入百度统计
if (window._VBEN_ADMIN_PRO_APP_CONF_) {
var _hmt = _hmt || [];
(function () {
var hm = document.createElement('script');
hm.src =
'https://hm.baidu.com/hm.js?97352b16ed2df8c3860cf5a1a65fb4dd';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(hm, s);
})();
}
</script>
<link rel="icon" href="favicon.svg" />
</head>
<body>
<div id="app"></div>
@@ -123,6 +123,7 @@ const formSchema = computed((): VbenFormSchema[] => {
{
component: 'VbenInput',
componentProps: {
autocomplete: 'username',
placeholder: $t('authentication.usernameTip'),
},
defaultValue: '',
@@ -133,6 +134,7 @@ const formSchema = computed((): VbenFormSchema[] => {
{
component: 'VbenInputPassword',
componentProps: {
autocomplete: 'current-password',
placeholder: $t('authentication.passwordTip'),
},
defaultValue: '',