提交 d9e52b99 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

perf(getCurrentPages): optimize style

上级 467abdea
<template> <template>
<view> <view>
<page-head title="getCurrentPages"></page-head> <page-head title="getCurrentPages"></page-head>
<button @click="_getCurrentPages">getCurrentPages</button> <view class="uni-padding-wrap">
<button class="uni-common-mt" @click="hideAndShow">页面隐藏并显示</button> <button @click="_getCurrentPages">getCurrentPages</button>
<view style="padding: 15px 10px"> <button class="uni-common-mt" @click="hideAndShow">页面隐藏并显示</button>
<text>当前页面栈中 {{pages.length}} 个页面,列表如下:</text> <view style="padding: 15px 0px">
<template v-for="(page, index) in pages" :key="page.route"> <text>当前页面栈中 {{ pages.length }} 个页面,列表如下:</text>
<text style="margin-top: 5px" <template v-for="(page, index) in pages" :key="page.route">
>index: {{ index }}, route: {{ page.route }}</text <text style="margin-top: 5px"
> >index: {{ index }}, route: {{ page.route }}</text
</template> >
</template>
</view>
</view> </view>
</view> </view>
</template> </template>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册