diff --git a/src/pages/plan/add/step3.js b/src/pages/plan/add/step3.js
index 3a4c6447..73807140 100644
--- a/src/pages/plan/add/step3.js
+++ b/src/pages/plan/add/step3.js
@@ -34,9 +34,10 @@ export default class acclist extends React.Component {
//数据模型不可少
theme_id: "",
use: 1,
- link: 3,
+ link: 1,
},
select_theme: null,
+ keyType: sessionStorage.getItem("keyType"),
};
}
@@ -49,10 +50,15 @@ export default class acclist extends React.Component {
// 第一步:判断是否优惠券
let white = sessionStorage.getItem("white");
let keyType = sessionStorage.getItem("keyType");
- console.log("white =>", white);
- console.log("keyType =>", keyType);
+ this.setState({
+ keyType: keyType,
+ });
// 2 优惠券
if (keyType === "2") {
+ let model2 = this.state.model;
+ model2.link = 1;
+ this.setState({ model: model2 });
+
if (white === "1") {
// 并且是 白名单
params.page = 8;
@@ -218,8 +224,12 @@ export default class acclist extends React.Component {
value={this.state.model.link}
>
大客户
- 普通商户
- 备用
+
+ 普通商户
+
+
+ 备用
+