提交 03177b69 编写于 作者: Q qiang

feat(h5): uni-async-error i18n

上级 80dcf50b
{
"uni.async.error": "The connection timed out, click the screen to try again.",
"uni.showActionSheet.cancel": "cancel",
"uni.showToast.unpaired": "Please note showToast must be paired with hideToast",
"uni.showLoading.unpaired": "Please note showLoading must be paired with hideLoading",
......
{
"uni.async.error": "Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo.",
"uni.showActionSheet.cancel": "cancelar",
"uni.showToast.unpaired": "Tenga en cuenta que showToast debe estar emparejado con hideToast",
"uni.showLoading.unpaired": "Tenga en cuenta que showLoading debe estar emparejado con hideLoading",
......
{
"uni.async.error": "La connexion a expiré, cliquez sur l'écran pour réessayer.",
"uni.showActionSheet.cancel": "Annuler",
"uni.showToast.unpaired": "Veuillez noter que showToast doit être associé à hideToast",
"uni.showLoading.unpaired": "Veuillez noter que showLoading doit être associé à hideLoading",
......
{
"uni.async.error": "连接服务器超时,点击屏幕重试",
"uni.showActionSheet.cancel": "取消",
"uni.showToast.unpaired": "请注意 showToast 与 hideToast 必须配对使用",
"uni.showLoading.unpaired": "请注意 showLoading 与 hideLoading 必须配对使用",
......
{
"uni.async.error": "連接服務器超時,點擊屏幕重試",
"uni.showActionSheet.cancel": "取消",
"uni.showToast.unpaired": "請注意 showToast 與 hideToast 必須配對使用",
"uni.showLoading.unpaired": "請注意 showLoading 與 hideLoading 必須配對使用",
......
<template>
<div
class="uni-async-error"
@click="_onClick"
@click="_onClick"
>
连接服务器超时,点击屏幕重试
{{ $$t("uni.async.error") }}
</div>
</template>
<style>
......@@ -14,13 +14,18 @@
top: 0;
bottom: 0;
color: #999;
padding: 100px 0;
padding: 100px 10px;
text-align: center;
}
</style>
<script>
import {
i18nMixin
} from 'uni-core/helpers/i18n'
export default {
name: 'AsyncError',
mixins: [i18nMixin],
methods: {
_onClick () {
// TODO 临时采用 reload
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册