@yeeyoon/library 2.9.7 → 2.9.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -78,7 +78,10 @@ request.interceptors.response.use(async (response) => {
78
78
  if (code !== 200 && code !== 201 && !success) {
79
79
  m !== '操作过于频繁' &&
80
80
  m.indexOf('存在重复的物资') < 0 &&
81
- notification.error({ message: m });
81
+ notification.error({
82
+ message: m,
83
+ maxCount: 1,
84
+ });
82
85
  if (
83
86
  code === 401 ||
84
87
  code === 402 ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yeeyoon/library",
3
- "version": "2.9.7",
3
+ "version": "2.9.8",
4
4
  "description": "宜云前端组件库和通用服务",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -22,7 +22,7 @@
22
22
  "dependencies": {
23
23
  "@ant-design/pro-layout": "^6.26.0",
24
24
  "@ant-design/pro-list": "^1.12.0",
25
- "antd": "^4.10.0",
25
+ "antd": "^4.17.3",
26
26
  "dva": "^2.6.0-beta.6",
27
27
  "local-storage": "^2.0.0",
28
28
  "lodash": "^4.17.21",