Commit 73cc92a8 by member

修改新增类型判断

parent 857ed225
...@@ -1036,9 +1036,13 @@ export default { ...@@ -1036,9 +1036,13 @@ export default {
// threeSingleValueChange // threeSingleValueChange
threeSingleValueChange(e) { threeSingleValueChange(e) {
// 是那个类型的 // 是那个类型的
console.log(this.threeLevelOptions); // console.log(this.threeLevelOptions);
this.giftType = e; this.giftType = e;
this.visibleType = this.giftType == 'coup' ? 8 : 9; if (this.giftType == 'coup') {
this.visibleType = 8;
} else if (this.giftType == 'gift') {
this.visibleType = 9;
}
var that = this var that = this
var selThreeItem = ''; var selThreeItem = '';
that.threeLevelOptions.forEach(function(ele,index){ that.threeLevelOptions.forEach(function(ele,index){
......
...@@ -1005,9 +1005,13 @@ export default { ...@@ -1005,9 +1005,13 @@ export default {
// threeSingleValueChange // threeSingleValueChange
threeSingleValueChange(e) { threeSingleValueChange(e) {
// 是那个类型的 // 是那个类型的
console.log(this.threeLevelOptions); // console.log(this.threeLevelOptions);
this.giftType = e; this.giftType = e;
this.visibleType = this.giftType == 'coup' ? 8 : 9; if (this.giftType == 'coup') {
this.visibleType = 8;
} else if (this.giftType == 'gift') {
this.visibleType = 9;
}
var that = this var that = this
var selThreeItem = ''; var selThreeItem = '';
that.threeLevelOptions.forEach(function(ele,index){ that.threeLevelOptions.forEach(function(ele,index){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment