diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-03-29 17:04:22 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-03-29 17:04:22 +0900 |
| commit | d0fff562ea05f23850d8b84db87bb8484366a1d5 (patch) | |
| tree | cfe5c9e411ca9660ee7e504d885f556ffc4e33f3 | |
| parent | テーマ関係 (diff) | |
| download | sharkey-d0fff562ea05f23850d8b84db87bb8484366a1d5.tar.gz sharkey-d0fff562ea05f23850d8b84db87bb8484366a1d5.tar.bz2 sharkey-d0fff562ea05f23850d8b84db87bb8484366a1d5.zip | |
Fix bug
| -rw-r--r-- | src/client/pages/miauth.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/pages/miauth.vue b/src/client/pages/miauth.vue index 2ee0f23479..0e170af11a 100644 --- a/src/client/pages/miauth.vue +++ b/src/client/pages/miauth.vue @@ -68,8 +68,8 @@ export default Vue.extend({ icon(): string { return this.$route.query.icon; }, - permission(): string { - return this.$route.query.permission; + permission(): string[] { + return this.$route.query.permission ? this.$route.query.permission.split(',') : []; }, }, methods: { @@ -79,7 +79,7 @@ export default Vue.extend({ session: this.session, name: this.name, iconUrl: this.icon, - permission: this.permission || [], + permission: this.permission, }); this.state = 'accepted'; |