diff --git a/src/lycomponents/iSwitchBrand/index.vue b/src/lycomponents/iSwitchBrand/index.vue index e4217fd..8853473 100644 --- a/src/lycomponents/iSwitchBrand/index.vue +++ b/src/lycomponents/iSwitchBrand/index.vue @@ -159,7 +159,7 @@ export default { }, // 确定品牌 handlerSubmit() { - if (this.chooseBrand && this.chooseModel) { + if (this.chooseBrand) { this.$emit("change", [this.chooseBrand, this.chooseModel]); this.handlerClose(); } else { diff --git a/src/views/Index/dynamicNumber/index.vue b/src/views/Index/dynamicNumber/index.vue index 9cec0c3..63eeeb1 100644 --- a/src/views/Index/dynamicNumber/index.vue +++ b/src/views/Index/dynamicNumber/index.vue @@ -96,7 +96,7 @@ export default { getData(n) { return new Promise((resolve, reject) => { let obj = Object.assign({}, this.getCommTime, { iStatus: n }); - if(this.getHeaderType == 1) {getHomeCount0528(obj).then((res) => { + getHomeCount0528(obj).then((res) => { let data = res.data; this.form.total = data.count; let sourcetypeCount = data.sourcetypeCount; @@ -120,7 +120,7 @@ export default { resolve(res) }).catch(() => { reject(false) - });} + }); }); }, // // 点击中间的全网数据显示