提交 4c792b1b authored 作者: 刘旭's avatar 刘旭

优化

上级 6cf9943d
...@@ -396,10 +396,9 @@ const initProduct = () => { ...@@ -396,10 +396,9 @@ const initProduct = () => {
getPlatformProductList().then((res: any) => { getPlatformProductList().then((res: any) => {
if (res.code === 200) { if (res.code === 200) {
res.data.records.forEach((item: any) => { res.data.records.forEach((item: any) => {
item.label = item.productAfterCodeName + '-' + item.productBeforeCodeName item.label = item.productBeforeCodeName + '-' + item.productAfterCodeName
}) })
productOptions.value = res.data.records productOptions.value = res.data.records
console.log(productOptions.value, '产品线数据源');
} }
}) })
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论