Browse Source

[fixed] news detail page Navbar

x 5 years ago
parent
commit
f4196e5bcb
1 changed files with 3 additions and 5 deletions
  1. 3 5
      src/views/shop/news/NewsDetail.vue

+ 3 - 5
src/views/shop/news/NewsDetail.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="newsDetail">
-    <NavBar title="新闻详情"></NavBar>
+    <NavBar></NavBar>
     <div class="title">{{ articleInfo.title }}</div>
     <div class="list acea-row row-middle">
       <div class="label line1">{{ articleInfo.cart_name }}</div>
@@ -118,10 +118,8 @@ import NavBar from "@components/NavBar";
 
 export default {
   name: "NewsDetail",
-  components: { ShareInfo },
-  props: {
-    NavBar
-  },
+  components: { ShareInfo, NavBar },
+  props: {},
   data: function() {
     return {
       articleInfo: {},