Commit 5246e040 authored by 邓春圆's avatar 邓春圆

可出商品默认展示全部

parent e03115cd
...@@ -232,6 +232,7 @@ export default { ...@@ -232,6 +232,7 @@ export default {
mounted() { mounted() {
getProductAttrList().then(response => { getProductAttrList().then(response => {
this.attrList = response.data; this.attrList = response.data;
this.form.attrId = this.attrList.map(i => i.id)
}) })
}, },
async created() { async created() {
......
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