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

perf(getCurrentPages): optimize style

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