提交 6ade603d 编写于 作者: Q qiang

Merge branch 'dev' of github.com:dcloudio/uni-app into dev

......@@ -222,7 +222,7 @@ function _handleSystemInfo (result) {
}
const protocols = { // 需要做转换的 API 列表
returnValue (methodName, res) { // 通用 returnValue 解析
returnValue (methodName, res = {}) { // 通用 returnValue 解析
if (res.error || res.errorMessage) {
res.errMsg = `${methodName}:fail ${res.errorMessage || res.error}`;
delete res.error;
......
{
"name": "@dcloudio/uni-mp-alipay",
"version": "0.0.812",
"version": "0.0.813",
"description": "uni-app mp-alipay",
"main": "dist/index.js",
"scripts": {
......
<template>
<transition name="uni-fade">
<uni-toast
v-show="visible"
:class="{'uni-toast-fixed':mask}"
v-if="visible"
:data-duration="duration">
<div
v-if="mask"
......@@ -86,20 +85,17 @@ export default {
}
</script>
<style>
uni-toast {
uni-toast {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 999;
display: block;
box-sizing: border-box;
}
uni-toast .uni-toast-fixed {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 999;
}
uni-toast .uni-sample-toast {
position: fixed;
z-index: 999;
......
......@@ -74,7 +74,7 @@ function _handleSystemInfo (result) {
}
const protocols = { // 需要做转换的 API 列表
returnValue (methodName, res) { // 通用 returnValue 解析
returnValue (methodName, res = {}) { // 通用 returnValue 解析
if (res.error || res.errorMessage) {
res.errMsg = `${methodName}:fail ${res.errorMessage || res.error}`
delete res.error
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册