fix: 使用本地静态文件替代 CDN,避免浏览器安全策略阻止

This commit is contained in:
lt
2026-04-27 14:13:00 +08:00
parent 73de8702ac
commit 8b5b76f6cb
6 changed files with 45 additions and 9 deletions
+9 -3
View File
@@ -76,13 +76,13 @@
<!-- Vue 3 -->
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
<!-- Element Plus CSS -->
<link rel="stylesheet" href="https://unpkg.com/element-plus@2.4.3/dist/index.css">
<!-- Element Plus JS -->
<script src="https://unpkg.com/element-plus@2.4.3/dist/index.full.min.js"></script>
<style>
@@ -129,6 +129,12 @@
}
</style>
<!-- 本地静态文件 -->
<script src="./static/vue.global.prod.js?v=20260427"></script>
<link rel="stylesheet" href="./static/element-plus.css?v=20260427">
<script src="./static/element-plus.full.js?v=20260427"></script>
</head>
<body>
<div class="login-container">