diff --git a/src/toast/index.js b/src/toast/index.js index 35f502dc2..0984dd3a2 100644 --- a/src/toast/index.js +++ b/src/toast/index.js @@ -59,11 +59,17 @@ function createInstance() { data() { return { timer: null, + message: null, toastProps: { show: false, }, }; }, + watch: { + message(val) { + this.toastProps.message = val; + }, + }, methods: { clear() { this.toggle(false);