Commit 73cc92a8 by member

修改新增类型判断

parent 857ed225
......@@ -1036,9 +1036,13 @@ export default {
// threeSingleValueChange
threeSingleValueChange(e) {
// 是那个类型的
console.log(this.threeLevelOptions);
// console.log(this.threeLevelOptions);
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 selThreeItem = '';
that.threeLevelOptions.forEach(function(ele,index){
......
......@@ -1005,9 +1005,13 @@ export default {
// threeSingleValueChange
threeSingleValueChange(e) {
// 是那个类型的
console.log(this.threeLevelOptions);
// console.log(this.threeLevelOptions);
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 selThreeItem = '';
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