Vue initializes the default properties of the elementui component

import {
  Message
} from "element-ui"

Vue.prototype.$message = Message

when I introduce the Message component of elementui into the project, how can I give it a default property?
for example, I want the default font size and vanishing time property duration to default to 5000 milliseconds

Mar.31,2021

you can encapsulate a method that calls the component of Message, and then calls that method directly in other components.

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-1b40a31-2c524.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-1b40a31-2c524.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?