Commit 61e36ad6 authored by yanglilong's avatar yanglilong

'修复系统问题'

parent 9f6e446d
...@@ -46,6 +46,7 @@ service.interceptors.request.use( ...@@ -46,6 +46,7 @@ service.interceptors.request.use(
// response 拦截器 // response 拦截器
service.interceptors.response.use( service.interceptors.response.use(
(response) => { (response) => {
that.$msg.destroy(); //防止弹窗多次
store.commit("common/loadingShow", false); store.commit("common/loadingShow", false);
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
if (response.status !== 200) { if (response.status !== 200) {
......
<template> <template>
<div class="header"> <div class="header-container">
<div class="logo">{{title}}</div> <div class="logo">{{title}}</div>
<div class="user-info"> <div class="user-info">
<p class="name"><Icon :name="'ssicb'" :size="24" />{{ userInfo.name }}</p> <p class="name"><Icon :name="'ssicb'" :size="24" />{{ userInfo.name }}</p>
...@@ -51,8 +51,8 @@ export default { ...@@ -51,8 +51,8 @@ export default {
}; };
</script> </script>
<style lang="less" scoped> <style lang="less">
.header { .header-container {
position: fixed; position: fixed;
width: 100%; width: 100%;
display: flex; display: flex;
......
...@@ -17,7 +17,7 @@ module.exports = { ...@@ -17,7 +17,7 @@ module.exports = {
less: { less: {
javascriptEnabled: true, javascriptEnabled: true,
}, },
}, }
}, },
chainWebpack: (config) => { chainWebpack: (config) => {
if (process.env.NODE_ENV === "production") { 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