Skip to content

Commit 4b50f22

Browse files
fix(core): chrome94开始,http网站无法加载https资源了。
1 parent e69f172 commit 4b50f22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/loader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { addRoute, getCurrentRouteParams, RouteConfig, router } from './router'
2424
export const loadElementUI = (): void => {
2525
// 导入 Element-UI 的样式
2626
$('head').append(
27-
'<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"></link>'
27+
'<link rel="stylesheet" href="//cdn.staticfile.org/element-ui/2.15.6/theme-chalk/index.min.css"></link>'
2828
)
2929
// 导入 Element-UI 组件
3030
Vue.use(Button)

0 commit comments

Comments
 (0)