页面中存在插槽时错误
Closed this issue · 2 comments
qzsiniong commented
App.vue
<template>
<view>My Header1</view>
<view>My Header2</view>
<view-router />
<view>My Footer1</view>
<view>My Footer2</view>
</template>
页面代码
<template>
<view class="content">
<u-navbar bgColor="transparent">
<template v-slot:left>
<view class="nav-bar-text">首页</view>
</template>
</u-navbar>
...
</view>
</template>
插件修改后的代码
<template>
<view class="content"><view>My Header1</view><view>My Header2</view>
<u-navbar bgColor="transparent">
<template v-slot:left>
<view class="nav-bar-text">首页<view>My Footer1</view><view>My Footer2</view></view>
</template>
</u-navbar>
...
</view>
</template>
2460392754 commented
在bug修复之前可以先试试用block标签
2460392754 commented
@qzsiniong 已修复