提交 adffa5fa 编写于 作者: cxt104926's avatar cxt104926

设置icon图标

上级 48d360e8
......@@ -55,7 +55,8 @@ const devWebpackConfig = merge(baseWebpackConfig, {
new HtmlWebpackPlugin({
filename: 'index.html',
template: 'index.html',
inject: true
inject: true,
favicon: './favicon.ico'
}),
// copy custom static assets
new CopyWebpackPlugin([
......
......@@ -46,7 +46,7 @@ const webpackConfig = merge(baseWebpackConfig, {
filename: utils.assetsPath('css/[name].[contenthash].css'),
// Setting the following option to `false` will not extract CSS from codesplit chunks.
// Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack.
// It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`,
// It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`,
// increasing file size: https://github.com/vuejs-templates/webpack/issues/1110
allChunks: true,
}),
......@@ -64,6 +64,7 @@ const webpackConfig = merge(baseWebpackConfig, {
filename: config.build.index,
template: 'index.html',
inject: true,
favicon: './favicon.ico',
minify: {
removeComments: true,
collapseWhitespace: true,
......
......@@ -3,10 +3,10 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="shortcut icon" type="image/x-icon" href="./favicon.ico" />
<title>stusystem</title>
</head>
<body>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>
......@@ -28,7 +28,6 @@
</el-menu>
</el-scrollbar>
</el-aside>
<button type="button" @click="splitStr">分割</button>
<!-- 系统头部 -->
<el-container>
......@@ -205,16 +204,6 @@
this.init();
},
methods: {
splitStr(){
let str = "alipay_sdk=alipay-sdk-java-dynamicVersionNo&app_id=2021002132613627&biz_content=%7B%22body%22%3A%22%E8%81%8C%E4%B8%9A%E5%8D%AB%E7%94%9F%E8%A7%86%E5%B1%8F%E5%9F%B9%E8%AE%AD%E7%BC%B4%E8%B4%B9%22%2C%22out_trade_no%22%3A%222021042313194186974695%22%2C%22subject%22%3A%22%E8%81%8C%E4%B8%9A%E5%8D%AB%E7%94%9F%E8%A7%86%E5%B1%8F%E5%9F%B9%E8%AE%AD%E7%BC%B4%E8%B4%B9%22%2C%22timeout_express%22%3A%222m%22%2C%22total_amount%22%3A%220.01%22%7D&charset=utf-8&format=json&method=alipay.trade.app.pay&notify_url=http%3A%2F%2F127.0.0.1%3A8004%2Fh5pay%2Fh5aliquery&sign=WAw7MUhfBZXuTQUOfe4KbY2Tx2qZwmPruuMyawYtzN79S%2BBE94hXsJYJ9RimRVFWWSK13ynOZyEMW%2BLepBSDRYdR8U583m%2FV66CLiwQezNeUhnterTKBMblPfnjxDHyEDPn56JOPOBID0Ix9yqgPtL4%2F%2FVCahvJpoLGZZlCDdzxDQLX4HBLqpcjAXVRc6aVxkdK4sTIkBiT83koeo3B55ehnlfqhlBnLlfVRor78qTHn%2BhQIeVvy4ZSxxK6pKLZlzu8gZ%2FUY8DtNpcgwHj3giOP74ImBp67mqIROXrT0SgprU3FKs%2BMe5CvttmVsq%2F1gpoLINivbucB40FOLVQpgTw%3D%3D&sign_type=RSA2&timestamp=2021-04-23+13%3A19%3A42&version=1.0";
let strings = str.split("&");
console.log(strings);
debugger
},
init() {
let userInfo = this.$store.state.userInfo;
if (userInfo === null || userInfo.length === 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册