fix: 修复新建计划落地页错误问题
This commit is contained in:
parent
599c6e8b76
commit
38b6f766f5
|
@ -89,6 +89,7 @@ export default class add extends React.Component {
|
|||
componentDidMount(e) {
|
||||
sessionStorage.setItem("white", 3);
|
||||
sessionStorage.setItem("plan_id", "");
|
||||
sessionStorage.setItem("keyType", "1");
|
||||
}
|
||||
|
||||
onConfirm(e) {
|
||||
|
|
|
@ -52,8 +52,8 @@ export default class acclist extends React.Component {
|
|||
console.log("white =>", white);
|
||||
console.log("keyType =>", keyType);
|
||||
// 2 优惠券
|
||||
if (keyType == 2) {
|
||||
if (white == 1) {
|
||||
if (keyType === "2") {
|
||||
if (white === "1") {
|
||||
// 并且是 白名单
|
||||
params.page = 8;
|
||||
} else {
|
||||
|
@ -61,7 +61,7 @@ export default class acclist extends React.Component {
|
|||
}
|
||||
} else {
|
||||
// 兑换码
|
||||
if (white == 1) {
|
||||
if (white === "1") {
|
||||
// 并且是 白名单
|
||||
params.page = 1;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue