mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
-- 学员选择bug
This commit is contained in:
@@ -31,10 +31,19 @@ export function useBoeApiPage(_url, params = {}, config = {
|
||||
})
|
||||
}
|
||||
|
||||
function reset(){
|
||||
state.data = []
|
||||
state.loading = false
|
||||
state.page = 1
|
||||
state.totalPage = 0
|
||||
state.total = 0
|
||||
}
|
||||
|
||||
config.init && fetch()
|
||||
return {
|
||||
...toRefs(state),
|
||||
fetch,
|
||||
reset
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user