Browse Source

添加插槽

wkw 4 days ago
parent
commit
213a4e6bd7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/nav-bar/index.vue

+ 1 - 1
components/nav-bar/index.vue

@@ -7,7 +7,7 @@
       {{ title }}
     </view>
 	<view class="go-back">
-	 
+		<slot name="right"></slot>
 	</view>
   </view>
 </template>