refer to the official website: https://doc.vux.li/zh-CN/comp.
uses the toast component in vux
but write in main.js:
import {ToastPlugin} from "vux"
Vue.use(ToastPlugin, {position: "bottom"})
introduce the toast component and set the prompt location at the bottom.
but write in the component:
this.$vux.toast.text("hello")
The prompt is not displayed at the bottom, but is displayed near the mouse click with the word "default".
is written in the following code, and the prompt will be displayed at the bottom.
this.$vux.toast.text("hello" "bottom")
Why doesn"t the position configured in main.js work? For advice, thank you