✌️
This commit is contained in:
parent
8e1b90ab43
commit
b8088dc01a
2 changed files with 6 additions and 0 deletions
|
@ -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 || [],
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue