mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 20:07:33 -07:00
Fix bug
This commit is contained in:
parent
83933879fe
commit
31a0a42c7f
1 changed files with 3 additions and 3 deletions
|
@ -68,8 +68,8 @@ export default Vue.extend({
|
||||||
icon(): string {
|
icon(): string {
|
||||||
return this.$route.query.icon;
|
return this.$route.query.icon;
|
||||||
},
|
},
|
||||||
permission(): string {
|
permission(): string[] {
|
||||||
return this.$route.query.permission;
|
return this.$route.query.permission ? this.$route.query.permission.split(',') : [];
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -79,7 +79,7 @@ export default Vue.extend({
|
||||||
session: this.session,
|
session: this.session,
|
||||||
name: this.name,
|
name: this.name,
|
||||||
iconUrl: this.icon,
|
iconUrl: this.icon,
|
||||||
permission: this.permission || [],
|
permission: this.permission,
|
||||||
});
|
});
|
||||||
|
|
||||||
this.state = 'accepted';
|
this.state = 'accepted';
|
||||||
|
|
Loading…
Reference in a new issue