Commit e6ebe032 by member

卡券选择出错

parent f74d7465
......@@ -76,9 +76,9 @@ export default {
// 当某行点击的时候
handleCurrentChangeRow(row) {
this.$nextTick(_ => {
if (row.integralMallProId == this.radio) {
// if (row.integralMallProId == this.radio) {
this.$emit('pass-id', row);
}
// }
});
},
getCardList() {
......@@ -130,11 +130,7 @@ export default {
created() {
const host = window.location.origin;
if (host.indexOf("localhost") != "-1") {
this.baseUrl = "http://gicdev.demogic.com";
} else {
this.baseUrl = host;
}
this.baseUrl = host.indexOf('localhost') > -1 ? 'http://gicdev.demogic.com' : host;
},
mounted() {
......
......@@ -68,11 +68,7 @@ export default {
created() {
const host = window.location.origin;
if (host.indexOf("localhost") != "-1") {
this.baseUrl = "http://gicdev.demogic.com";
} else {
this.baseUrl = host;
}
this.baseUrl = host.indexOf('localhost') > -1 ? 'http://gicdev.demogic.com' : host;
},
methods: {
......
......@@ -670,7 +670,7 @@ export default {
this.giftFlag = false;
var that = this
var host = window.location.origin;
this.baseUrl = host.indexOf('localhost') != '-1' ? 'http://gicdev.demogic.com' : host;
this.baseUrl = host.indexOf('localhost') > -1 ? 'http://gicdev.demogic.com' : host;
},
methods: {
changeVisible() {
......
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