Commit b8dd80ec authored by 徐光星's avatar 徐光星

feat: 增加逻辑注释

parent 10ee6c14
......@@ -76,7 +76,7 @@ export default {
'fetchTenantAuthData'
]),
select(name) {
console.log('select', name);
// console.log('select', name);
const current = this.page[name];
this.$router.push({
name: current.path,
......@@ -90,11 +90,11 @@ export default {
},
created() {
this.fetchTenantAuthData();
console.log('isDashboard', this.$route);
// console.log('isDashboard', this.$route);
},
watch: {
$route(to, from) {
console.log(to, from);
// console.log(to, from);
if (to.path !== from.path && to.path === '/list') {
this.activeName = 0;
}
......@@ -119,7 +119,7 @@ export default {
return ['ivu-menu-dark', 'menu-item', this.isCollapsed ? 'collapsed-menu' : ''];
},
isDashboard() {
console.log('isDashboard', this.$route);
// console.log('isDashboard', this.$route);
return this.$route.name === 'detail';
}
},
......
......@@ -85,7 +85,7 @@ export default {
}
// 判断填入的活动ID是否存在重复的渠道ID的情况
const normalKey = 'common';
const validArr = res.filter(item => item.activityTemplateType && item.activityTemplateType == 1);
const validArr = res.filter(item => item.activityTemplateType && item.activityTemplateType == 11);
const channel2Id = {};
validArr.map(item => {
if (item.kaChannelNo) {
......
......@@ -73,7 +73,6 @@ export default class GoodsTabsMixin extends Vue {
let ids: any = [];
const batchPickupIndexArr: any[] = []; // 记录一键领取索引值
elements.forEach((item, index) => {
console.log(item);
if (item.name == 'cs-coupon' && item.props.couponsList && item.props.couponsList.length) {
ids = ids.concat(item.props.couponsList);
}
......@@ -102,7 +101,6 @@ export default class GoodsTabsMixin extends Vue {
}
}
});
console.log('parseGoodsTabs', goodsTabs);
Object.keys(goodsTabs).forEach(key => {
goodsTabs[key].forEach((child, index) => {
// console.log('parseGoodsTabs', { containerIndex: +key + 1 + index, data: child });
......
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