Commit 8ff14664 authored by 邓春圆's avatar 邓春圆

回显修改

parent 8e588b77
...@@ -225,7 +225,7 @@ export default { ...@@ -225,7 +225,7 @@ export default {
if (this.$route.query.id) { if (this.$route.query.id) {
getChannel(this.$route.query.id).then((res) => { getChannel(this.$route.query.id).then((res) => {
this.$set(this, 'form', {... res.data}) this.$set(this, 'form', {... res.data})
if(!this.form.channelPackagingList !== null ){ if(!this.form.channelPackagingList === null ){
this.form.channelPackagingList = []; this.form.channelPackagingList = [];
} }
this.form.attrId = this.form.attrId.split(',').map(i => +i) this.form.attrId = this.form.attrId.split(',').map(i => +i)
......
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