From eb9ff08a182cf6ef6fedf3ed6d6199fe4b342fc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E6=A3=9A?= <849005670@qq.com> Date: Tue, 25 Jan 2022 11:41:11 +0800 Subject: [PATCH] Update step3.js --- src/pages/plan/add/step3.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/pages/plan/add/step3.js b/src/pages/plan/add/step3.js index 6719cc5c..710881c9 100644 --- a/src/pages/plan/add/step3.js +++ b/src/pages/plan/add/step3.js @@ -37,7 +37,15 @@ export default class acclist extends React.Component{ getThemeData(){ let params = {} - params.page = sessionStorage.getItem("white") + if(sessionStorage.getItem("white") == 1) + { + params.page = 1 + } + else + { + params.page = 3 + } + getThemeChoice(params).then((res)=>{ handelResponse(res,(req,msg)=>{