恢复 btnAuth
This commit is contained in:
6
web/src/utils/btnAuth.js
Normal file
6
web/src/utils/btnAuth.js
Normal file
@@ -0,0 +1,6 @@
|
||||
import { useRoute } from 'vue-router'
|
||||
import { reactive } from 'vue'
|
||||
export const useBtnAuth = () => {
|
||||
const route = useRoute()
|
||||
return route.meta.btns || reactive({})
|
||||
}
|
Reference in New Issue
Block a user