提交 b0a0d7eb 编写于 作者: 杜庆泉's avatar 杜庆泉

xtoast 运行示例增加操作描述

上级 b758d766
<template>
<button @tap="testToastShow">调用XToast弹窗</button>
<page-head :title="title"></page-head>
<view class="uni-padding-wrap uni-common-mt">
<view class="uni-hello-text">
1.临时移除uts-toast插件下的 libs/R.jar文件
</view>
<view class="uni-hello-text">
2. 提交自定义基座打包
</view>
<view class="uni-hello-text">
3. 将移除的libs/R.jar文件放回原处,运行自定义基座即可
</view>
</view>
<view class="uni-padding-wrap uni-common-mt">
<button @tap="testToastShow">调用XToast弹窗</button>
</view>
</template>
<script>
......@@ -10,6 +25,7 @@
data() {
return {
title:"XToast集成示例"
}
},
methods:{
......
......@@ -48,6 +48,7 @@
if(!ret){
uni.showToast({
icon:'none',
title:'请授予权限后重试'
})
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册