modify toast style
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user