MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / MsgSuccess

Function MsgSuccess

ui/src/utils/message.ts:4–11  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

2import { t } from '@/locales'
3
4export const MsgSuccess = (message: string) => {
5 ElMessage.success({
6 message: message,
7 type: 'success',
8 showClose: true,
9 duration: 3000,
10 })
11}
12
13export const MsgInfo = (message: string) => {
14 ElMessage.info({

Callers 1

copyClickFunction · 0.90

Calls 1

successMethod · 0.45

Tested by

no test coverage detected