Commit 3a06ebfd by 李长胜

修改

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