mirror of https://github.com/alibaba/ice.git
fix: auth template types (#3295)
This commit is contained in:
parent
55be7f3894
commit
ee67cfc10c
|
|
@ -7,7 +7,7 @@ function useAuth() {
|
|||
return [
|
||||
auth,
|
||||
setAuth
|
||||
];
|
||||
] as [Record<string, boolean>, typeof setAuth];
|
||||
}
|
||||
|
||||
// class 组件支持 Hoc 用法
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
export default {
|
||||
state: {
|
||||
auth: {}
|
||||
},
|
||||
state: {},
|
||||
|
||||
reducers: {
|
||||
setAuth (state, payload) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue