Problems with the use of mint-ui components

read the mint-ui documentation, such as using the following component

Toast("");

this.$toast ("prompt") so that you can execute

if the document is written as Toast ("prompt message"); it cannot be executed directly, or this.$Toast ("prompt message"); nor can
Why change Toast to toast

if I write this.$toast ("prompt"), I try
MessageBox ("prompt", "operation successful") for a different component, for example, this.$messageBox ("prompt", "operation successful") cannot be executed.

how should components in mint-ui be called correctly?

add:
import MintUI from "mint-ui"
import" mint-ui/lib/style.css"
Vue.use (MintUI)

I am the whole mint-ui introduced

Feb.28,2021

1.mint-ui can be imported in full or on demand. After import, just register Vue.use (MintUI) and mount mintUI to vue instance. You can call
2 through this.$toast or this.$messageBox. In your case, toast and MessageBox should be imported on demand, but toast is registered through vue.use and MessageBox is not registered
3. If you are not registered, you can call it directly through the imported variable name:
import {MessageBox} from 'mint-ui'
call MessageBox (' prompt', 'operation successful')


this.$messagebox ('prompt', 'operation successful') so that you can execute

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b31694-2bd8c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b31694-2bd8c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?