Commit 321343c5 authored by chenjundi's avatar chenjundi

optimization

parent 6945cede
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="goods_name" label="关联商品"> <el-table-column prop="goods_name" label="关联商品">
<template slot-scope="scope"> <template slot-scope="scope">
<div v-for="data in goodsNameFilter(scope.row.goods_name)">{{data}}</div> <div v-for="(data, index) in goodsNameFilter(scope.row.goods_name)" :key="index">{{data}}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="created_at" label="创建时间"></el-table-column> <el-table-column prop="created_at" label="创建时间"></el-table-column>
......
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