mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 01:04:25 +08:00
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) {
|
Vue.prototype.$toast = function (message, timeout) {
|
||||||
this.$f7.toast.create({
|
this.$f7.toast.create({
|
||||||
text: i18n.t(message),
|
text: i18n.t(message),
|
||||||
|
position: 'center',
|
||||||
closeTimeout: timeout || 1500
|
closeTimeout: timeout || 1500
|
||||||
}).open();
|
}).open();
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user