This commit is contained in:
syuilo 2020-03-28 18:33:24 +09:00
parent 8e1b90ab43
commit b8088dc01a
2 changed files with 6 additions and 0 deletions

View file

@ -65,6 +65,9 @@ export default Vue.extend({
name(): string {
return this.$route.query.name;
},
icon(): string {
return this.$route.query.icon;
},
permission(): string {
return this.$route.query.permission;
},
@ -75,6 +78,7 @@ export default Vue.extend({
await this.$root.api('miauth/gen-token', {
session: this.session,
name: this.name,
iconUrl: this.icon,
permission: this.permission || [],
});