Skip to content

Commit

Permalink
fix: style problem of message component; 🐛
Browse files Browse the repository at this point in the history
修复:message 组件样式问题;
  • Loading branch information
iczer committed Aug 27, 2020
1 parent ad11e31 commit 04be83a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mock/user/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Mock.mock(`${process.env.VUE_APP_API_BASE_URL}/login`, 'post', ({body}) => {
result.data.user = user
result.data.token = 'Authorization:' + Math.random()
result.data.expireAt = new Date(new Date().getTime() + 30 * 60 * 1000)
result.data.permissions = [{id: 'queryForm', operation: ['add', 'edit', 'delete']}]
result.data.permissions = [{id: 'queryForm', operation: ['add', 'edit']}]
result.data.roles = [{id: 'admin', operation: ['add', 'edit', 'delete']}]
}
return result
Expand Down
2 changes: 1 addition & 1 deletion src/pages/dashboard/analysis/Analysis.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="analysis">
<a-row :gutter="[24, 24]">
<a-row style="margin-top: 0" :gutter="[24, 24]">
<a-col :sm="24" :md="12" :xl="6">
<chart-card :loading="loading" :title="$t('totalSales')" total="¥ 189,345">
<a-tooltip :title="$t('introduce')" slot="action">
Expand Down
3 changes: 3 additions & 0 deletions src/theme/antd/ant-message.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.ant-message{
z-index: 1100;
}
1 change: 1 addition & 0 deletions src/theme/antd/index.less
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
@import "ant-time-picker";
@import "ant-message";

0 comments on commit 04be83a

Please sign in to comment.