From b853a21de803d5711ae6c939bef27c42dce264bd Mon Sep 17 00:00:00 2001 From: MaysWind Date: Wed, 28 Oct 2020 00:47:36 +0800 Subject: [PATCH] modify toast style --- src/mobile-main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mobile-main.js b/src/mobile-main.js index 1729609a..6baa76a0 100644 --- a/src/mobile-main.js +++ b/src/mobile-main.js @@ -83,6 +83,7 @@ Vue.prototype.$confirm = function (message, confirmCallback, cancelCallback) { Vue.prototype.$toast = function (message, timeout) { this.$f7.toast.create({ text: i18n.t(message), + position: 'center', closeTimeout: timeout || 1500 }).open(); };