|
|
@@ -50,7 +50,8 @@ export default { |
|
|
|
link: '', |
|
|
|
newOpen: '1', |
|
|
|
remark: '', |
|
|
|
linkTitle: '' |
|
|
|
linkTitle: '', |
|
|
|
title: '' |
|
|
|
}, |
|
|
|
rules: { |
|
|
|
image: [ |
|
|
@@ -68,13 +69,13 @@ export default { |
|
|
|
methods: { |
|
|
|
getData() { |
|
|
|
shuzirenremark().then(res => { |
|
|
|
this.ruleForm.id = res.id |
|
|
|
this.ruleForm.image = res.image |
|
|
|
this.ruleForm.link = res.link |
|
|
|
this.ruleForm.newOpen = res.newOpen |
|
|
|
this.ruleForm.linkTitle = res.linkTitle |
|
|
|
this.ruleForm.remark = res.remark |
|
|
|
this.ruleForm.title = res.title |
|
|
|
this.ruleForm.id = res.id || '' |
|
|
|
this.ruleForm.image = res.image || '' |
|
|
|
this.ruleForm.link = res.link || '' |
|
|
|
this.ruleForm.newOpen = res.newOpen || '' |
|
|
|
this.ruleForm.linkTitle = res.linkTitle || '' |
|
|
|
this.ruleForm.remark = res.remark || '' |
|
|
|
this.ruleForm.title = res.title || '' |
|
|
|
}) |
|
|
|
}, |
|
|
|
submitForm(formName) { |
|
|
|