fix: 使用本地静态文件替代 CDN,避免浏览器安全策略阻止
This commit is contained in:
@@ -17,13 +17,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>
|
||||
@@ -70,6 +70,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 id="app">
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -101,6 +101,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 id="app">
|
||||
|
||||
@@ -11,13 +11,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>
|
||||
@@ -64,6 +64,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 id="app">
|
||||
|
||||
@@ -101,6 +101,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 id="app">
|
||||
|
||||
@@ -101,6 +101,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 id="app">
|
||||
|
||||
Reference in New Issue
Block a user