yujialong 2 weeks ago
parent ed7fe3827d
commit 52b5cb7625
  1. 3
      src/mixins/page/index.js
  2. 2
      src/pages/article/index.vue
  3. 2
      src/styles/lib/_reset.scss

@ -117,7 +117,8 @@ export default {
(this.site) :
item.siteSelection
if (ids[1]) { // 文章
href = '/article?articleId=' + ids[1]
const columnIds = ids[0].split(',')
href = `/article?articleId=${ids[1]}&id=${columnIds[columnIds.length - 1]}`
} else { // 栏目
const columnIds = ids[0].split(',')
href = '/column?id=' + columnIds[columnIds.length - 1]

@ -49,7 +49,7 @@ export default {
data () {
return {
id: this.$route.query.articleId,
columnId: +this.$route.query.id,
columnId: +this.$route.query.id || '',
preview: this.$route.query.preview,
loaded: false,
routes: [],

@ -36,8 +36,6 @@ input,
textarea,
p,
blockquote,
th,
td,
hr,
button,
article,

Loading…
Cancel
Save