Refactor
This commit is contained in:
parent
5ef4a52bbd
commit
c3ae6f3a4a
25 changed files with 73 additions and 62 deletions
|
|
@ -42,8 +42,8 @@ export default defineComponent({
|
|||
},
|
||||
|
||||
methods: {
|
||||
async generateToken() {
|
||||
os.popup(await import('@/components/token-generate-window.vue'), {}, {
|
||||
generateToken() {
|
||||
os.popup(import('@/components/token-generate-window.vue'), {}, {
|
||||
done: async result => {
|
||||
const { name, permissions } = result;
|
||||
const { token } = await os.api('miauth/gen-token', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue