55995cd5 by 任超

style:配置文件

1 parent f55854f3
/*
* @Description: 这个是所有api的前缀配置文件
* @Autor: renchao
* @LastEditTime: 2023-03-15 17:14:19
*/
export default {
TITLE: '汉中市数据上报系统',
SERVERAPI: '/bdcsjsb', //赵千
MANAGEMENTAPI: 'http://192.168.2.236/management'
}
\ No newline at end of file
<!--
* @Description: 引入配置文件
* @Autor: renchao
* @LastEditTime: 2023-03-15 16:15:45
* @LastEditTime: 2023-03-15 17:11:59
-->
<!DOCTYPE html>
<html>
......@@ -23,8 +23,8 @@
</body>
</html>
<script>
document.write("<s" + "cript type='text/javascript' src='./config.js?" + Math.random().toString(36).substr(2) + "'></scr" + "ipt>");
window.baseUrl = location.origin || location.protocol + '//' + location.host
// window.authorization = 'bearer AT-14-h4UlUGjPvgmrIgnDO-3QgMP0m4YJGQTR';
// window.authorization = 'bearer AT-223-c-Q86EHx75m7ig3EDf-SwMWl4U0AKn0b';
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-15 14:37:05
* @LastEditTime: 2023-03-15 17:14:42
*/
// 获取浏览器便签标题
import defaultSettings from '@/settings'
import config from '@/api/config'
import config from '/public/config'
const title = config.TITLE
export default function getPageTitle (pageTitle) {
......