diff --git a/src/pages/apply/stride-items.vue b/src/pages/apply/stride-items.vue index 652ce6c..e5a9a0c 100644 --- a/src/pages/apply/stride-items.vue +++ b/src/pages/apply/stride-items.vue @@ -8,20 +8,20 @@ import { applyApi } from "@@/api" const state = reactive({ pa: { - id: null, + bizId: null, pagesize: 99, }, }) const pageRef = ref(null) -const pageHook = hooks.usePage(pageRef, applyApi.codeList, null, 'data') +const pageHook = hooks.usePage(pageRef, applyApi.codeList, null, 'data.records') const query = (page: number, pagesize: number) => { pageHook.startPage(page, pagesize, false, state.pa); } onLoad((options: any) => { if (!isEmpty(options.id)) { - state.pa.id = options.id + state.pa.bizId = options.id } }); onShow(() => { diff --git a/src/sheep/api/user.ts b/src/sheep/api/user.ts index 09193ee..1dcd87e 100644 --- a/src/sheep/api/user.ts +++ b/src/sheep/api/user.ts @@ -51,13 +51,13 @@ export default { method: "POST", params: { username, - password: encPassword, + password: password, randomStr, code, grant_type, scope, }, - data: { password: encPassword }, + data: { password: password }, header: { skipToken: true, Authorization: basicAuth,