@@ -51,14 +51,14 @@ export default {
}
},
onLoad(e) {
- if (e.id) {
- this.getDetail(e.id)
+ if (e.articleId) {
+ this.getDetail(e.articleId)
methods: {
- getDetail(id) {
+ getDetail(articleId) {
detail({
- articleId: id
+ articleId: articleId
}).then(res => {
if (res.data.code === 0) {
if (res.data.data.templateType == 1) {