Default: ""
Raise a warning on the top of the header.
Default: null
Custom way to handle logout event.
Default:
{
tooltipText: "回到米筐官网首页",
link: { path: "/", outer: true }
}tooltipText: string, required
link.path: string, required
link.newBlock: boolean, optional, open in new tab
link.outer: boolean, optional, use location instead of vue router
Default: true
rqmessage switch
Parameters:
Triggers when user click create workspace button (dashboard url only).
Parameters: currentWorkspaceId
Triggers when current workspace change.
Parameters: current-theme
Triggers when current theme change.
Default: ""
The maintenance time.
Default: ricequant logo
The specified logo.
Parameters:
Triggers when user login in.
A component for using pictures in avif and webp formats on broswers supporting them while not affecting their display on others.
Be careful that the src can't be the direct path of picture, like <RqPicture src="/assets/img/404.png"/>❎. We recommand using pictures by importing, such as import imgs from "/path/*.*"✅ or import imgs from "/path/name.*"✅, which import and use pictures as variables . If you insists on using path, you can use picture tag directly in your components, just as the RqPicture components do.
the path of single picture
- avif: the path of avif picture
- webp: the path of webp picture
- fallback: the path of default picture when browser don't support the formats above