1.不重新编译 webadmin,修改登录页面文字标题
文件位置: /plugin/admin/app/view/index/index.html 中内容如下
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="shortcut icon" type="image/x-icon" href="https://unpkg.byted-static.com/latest/byted/arco-config/assets/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Arco Design Pro - 开箱即用的中台前端/设计解决方案</title>
<script type="module" crossorigin src="/assets/index.29d1f1fd.js"></script>
<link rel="modulepreload" href="/assets/arco.f97752e2.js">
<link rel="modulepreload" href="/assets/chart.1bb0aa8b.js">
<link rel="modulepreload" href="/assets/vue.1b4fbe39.js">
<link rel="stylesheet" href="/assets/index.efee5940.css">
</head>
<body>
<div id="app"></div>
</body>
</html>
webman 1.4
webman-admin 0.3
貌似不重新编译是没办法的,就为了这几个文字修改,再单独编译,似乎不太合算呀
如果以后webadmin升级了,还得重新修改编译。
官方可考虑将这些常用修改的融入后台配置里
写个接口传
ide编辑器搜下就有了,在
plugin/admin/app/view/index/index.html
我这里面内容是这样的```<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="shortcut icon" type="image/x-icon" href="https://unpkg.byted-static.com/latest/byted/arco-config/assets/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Arco Design Pro - 开箱即用的中台前端/设计解决方案</title>
<script type="module" crossorigin src="/assets/index.29d1f1fd.js"></script>
<link rel="modulepreload" href="/assets/arco.f97752e2.js">
<link rel="modulepreload" href="/assets/chart.1bb0aa8b.js">
<link rel="modulepreload" href="/assets/vue.1b4fbe39.js">
<link rel="stylesheet" href="/assets/index.efee5940.css">
</head>
<body>
<div id="app"></div>
</body>
</html>```
页面内容通过api获取就ok了