Commit f049826d authored by 我在何方's avatar 我在何方
parents d05c73af 5246e040
...@@ -108,9 +108,11 @@ export default { ...@@ -108,9 +108,11 @@ export default {
}, },
mounted() { mounted() {
this.value1 = this.value this.value1 = this.value
if(!this.value1.airWeightLimit){ this.$nextTick(()=>{
this.value1.airWeightLimit = this.screenCom if(!this.value1.airWeightLimit){
} this.value1.airWeightLimit = this.screenCom
}
})
this.$nextTick(()=>{ this.$nextTick(()=>{
if(this.value1[this.keyArr] && this.value1[this.keyArr].length === 0){ if(this.value1[this.keyArr] && this.value1[this.keyArr].length === 0){
this.addInterval() this.addInterval()
......
...@@ -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