Commit 61e36ad6 authored by yanglilong's avatar yanglilong

'修复系统问题'

parent 9f6e446d
......@@ -46,6 +46,7 @@ service.interceptors.request.use(
// response 拦截器
service.interceptors.response.use(
(response) => {
that.$msg.destroy(); //防止弹窗多次
store.commit("common/loadingShow", false);
return new Promise((resolve, reject) => {
if (response.status !== 200) {
......
<template>
<div class="header">
<div class="header-container">
<div class="logo">{{title}}</div>
<div class="user-info">
<p class="name"><Icon :name="'ssicb'" :size="24" />{{ userInfo.name }}</p>
......@@ -51,8 +51,8 @@ export default {
};
</script>
<style lang="less" scoped>
.header {
<style lang="less">
.header-container {
position: fixed;
width: 100%;
display: flex;
......
......@@ -17,7 +17,7 @@ module.exports = {
less: {
javascriptEnabled: true,
},
},
}
},
chainWebpack: (config) => {
if (process.env.NODE_ENV === "production") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment