Browse Source

更新参数

lex 1 year ago
parent
commit
265fffae6a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/tenant/ranking-list/index.tsx

+ 3 - 3
src/tenant/ranking-list/index.tsx

@@ -67,7 +67,7 @@ export default defineComponent({
     const forms = reactive({
       ...formatWeekDays(),
       studentIds: baseState.user.data?.userId,
-      name: 0,
+      orderType: 0,
       page: 1,
       rows: 20
     })
@@ -136,9 +136,9 @@ export default defineComponent({
                       v-model:active={state.tabActive}
                       onChange={(val: string) => {
                         if (val === 'dayBill') {
-                          forms.name = 2
+                          forms.orderType = 2
                         } else {
-                          forms.name = 0
+                          forms.orderType = 0
                         }
 
                         getList()