Commit e6ebe032 by member

卡券选择出错

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