UNPKG
dk-plus
Version:
latest (1.0.28)
1.0.28
1.0.27
1.0.26
1.0.25
1.0.24
1.0.23
DK-PLUS
github.com/dk-plus-ui/dk-plus-ui
dk-plus-ui/dk-plus-ui
dk-plus
/
es
/
_hooks
/
get-alert
/
index.js
12 lines
(11 loc)
•
203 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
{ computed
as
o }
from
"vue"
;
const
u
= (
t
) => {
const
{
type
: e } = t, s = e ===
"success"
, c =
o
(
() =>
({}));
return
{
isSuccess
: s,
styleList
: c }; };
export
{ u
as
getAlert };