'数据分析bug修改2次'

This commit is contained in:
Fanzink
2023-03-24 17:23:26 +05:30
parent e0d4e5327f
commit 5afadfb1ce
5 changed files with 55 additions and 21 deletions

View File

@@ -135,10 +135,10 @@ export default {
}).then(({ data: res }) => {
if (res && res.code === 0) {
this.productLineList = res.data
/** set default */
if (this.productLineList.length) {
this.dataForm.productlines = [this.productLineList[0].id]
}
/** set default 默认*/
// if (this.productLineList.length) {
// this.dataForm.productlines = [this.productLineList[0].id]
// }
} else {
this.productLineList = []
this.dataForm.productlines = []