Skip to content

Commit 85f76c9

Browse files
committed
feat(version): upgrade to version 0.3.3
1 parent a75128f commit 85f76c9

File tree

8 files changed

+27
-23
lines changed

8 files changed

+27
-23
lines changed

.env.development

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
ENV = 'development'
22

3-
VUE_APP_BASE_URL = 'http://localhost:5000'
3+
VUE_APP_BASE_URL = 'http://localhost:5000/'

.env.production

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

22

3-
VUE_APP_BASE_URL = 'http://api.s.colorful3.com'
3+
VUE_APP_BASE_URL = 'http://localhost:5000/'

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,11 @@ QQ群搜索:林间有风 或 643205479
9797

9898
## 版本日志
9999

100-
最新版本 `0.3.2`
100+
最新版本 `0.3.3`
101+
102+
### 0.3.3
103+
104+
1. `A` 新增消息中心组件
101105

102106
### 0.3.2
103107

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lin-cms",
3-
"version": "0.3.2",
3+
"version": "0.3.3",
44
"private": true,
55
"scripts": {
66
"serve": "node script/plugin-get-config.js && vue-cli-service serve",

src/components/layout/NavBar.vue

+13-13
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,23 @@ import Screenfull from './Screenfull'
2929
import User from './User'
3030
import ClearTab from './ClearTab'
3131
import { getToken } from '@/lin/utils/token'
32-
import store from '@/store'
32+
// import store from '@/store'
3333
3434
export default {
3535
name: 'NavBar',
3636
created() {
37-
this.$connect(this.path, { format: 'json' })
38-
this.$options.sockets.onmessage = data => {
39-
console.log(JSON.parse(data.data))
40-
this.messages.push(JSON.parse(data.data))
41-
}
42-
this.$options.sockets.onerror = err => {
43-
console.log(err)
44-
this.$message.error('token已过期,请重新登录')
45-
store.dispatch('loginOut')
46-
const { origin } = window.location
47-
window.location.href = origin
48-
}
37+
// this.$connect(this.path, { format: 'json' })
38+
// this.$options.sockets.onmessage = data => {
39+
// console.log(JSON.parse(data.data))
40+
// this.messages.push(JSON.parse(data.data))
41+
// }
42+
// this.$options.sockets.onerror = err => {
43+
// console.log(err)
44+
// this.$message.error('token已过期,请重新登录')
45+
// store.dispatch('loginOut')
46+
// const { origin } = window.location
47+
// window.location.href = origin
48+
// }
4949
},
5050
watch: {
5151
messages: {

src/plugins/Charts/components/Grouped-Column.vue

-4
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,12 @@ export default {
5656
forceFit: true,
5757
color: ['#4577FF', '#00C292', '#FEC108'],
5858
columnSize: 12,
59-
columnStyle: res => {
60-
console.log(res, 'res')
61-
},
6259
legend: {
6360
visible: true,
6461
position: 'top-right',
6562
},
6663
})
6764
canvas.render()
68-
console.log(canvas)
6965
},
7066
}
7167
</script>

src/views/admin/user/UserInfo.vue

+5-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,11 @@ export default {
175175
}
176176
} catch (e) {
177177
this.loading = false
178-
this.$message.error('新增用户失败')
178+
if (e.data.code === 10073) {
179+
this.$message.error(e.data.message)
180+
} else {
181+
this.$message.error('新增用户失败')
182+
}
179183
console.log(e)
180184
}
181185
} else {

src/views/home/Home.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export default {
205205
align-items: center;
206206
background: $header-background;
207207
padding-left: 20px;
208-
height: 72px;
208+
height: 86px;
209209
210210
.iconfont {
211211
font-size: 16px;

0 commit comments

Comments
 (0)