modify toast style

This commit is contained in:
MaysWind
2020-10-28 00:47:36 +08:00
parent cb8b403713
commit b853a21de8
+1
View File
@@ -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();
};