49 lines
1.3 KiB
HTML
49 lines
1.3 KiB
HTML
<!doctype html>
|
|
<html lang="zh">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
|
<meta name="renderer" content="webkit" />
|
|
<meta name="description" content="A Modern Back-end Management System" />
|
|
<meta name="keywords" content="Vben Admin Vue3 Vite" />
|
|
<meta name="author" content="Vben" />
|
|
<meta
|
|
name="viewport"
|
|
content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"
|
|
/>
|
|
<title></title>
|
|
<link rel="icon" href="" />
|
|
<script>
|
|
(function () {
|
|
try {
|
|
var cacheText = window.localStorage.getItem('runtime-setting');
|
|
var cache = cacheText ? JSON.parse(cacheText) : null;
|
|
var setting = cache && cache.setting;
|
|
|
|
if (!setting) {
|
|
return;
|
|
}
|
|
|
|
window.__APP_SETTING__ = setting;
|
|
|
|
if (setting.appTitle) {
|
|
document.title = setting.appTitle;
|
|
}
|
|
|
|
if (setting.appIcon) {
|
|
var icon = document.querySelector('link[rel="icon"]');
|
|
if (icon) {
|
|
icon.href = setting.appIcon;
|
|
}
|
|
}
|
|
|
|
} catch (error) {}
|
|
})();
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
<script type="module" src="/src/main.ts"></script>
|
|
</body>
|
|
</html>
|