整合企微token变量
This commit is contained in:
@@ -31,7 +31,7 @@ export default {
|
||||
limit: {default: 1000}
|
||||
},
|
||||
computed: {
|
||||
...mapState(['token']),
|
||||
...mapState(['user']),
|
||||
wordCount() {
|
||||
return this.content?.length || 0
|
||||
},
|
||||
@@ -39,7 +39,7 @@ export default {
|
||||
return this.content || this.placeholder
|
||||
},
|
||||
isLogin() {
|
||||
return !!this.token
|
||||
return !!this.user.token
|
||||
},
|
||||
},
|
||||
data() {
|
||||
|
||||
@@ -58,7 +58,6 @@ export default {
|
||||
sourceType: {default: () => ['album', 'camera']}
|
||||
},
|
||||
computed: {
|
||||
...mapState(['token']),
|
||||
errorImage() {
|
||||
return this.$cdn + 'file.png'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user