Commit 3a06ebfd by 李长胜

修改

1 parent d1819c2a
......@@ -306,16 +306,14 @@ mounted () {
},
getCardContentFun() {
getCardContent({ merchantId: this.merchantId }).then(res => {
if(!(res && res.length)){
return
if(!res){
return
}
// this.ruleForm.equityId = res[0].id
this.ruleForm.equityId = res[0].equityClassId
this.ruleForm.cardName = res[0].cardClassName
this.ruleForm.price = res[0].price
this.ruleForm.marketPrice = res[0].marketPrice
this.ruleForm.linkUrl = res[0].url
this.ruleForm.tryAble = res[0].tryAble
this.ruleForm.equityId = res.equityClassId
this.ruleForm.cardName = res.equityName
this.ruleForm.price = res.goodPrice
this.ruleForm.marketPrice = res.marketPrice
this.ruleForm.linkUrl = res.freeUrl
})
},
openEditWrap() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!