@arco-vue-pro-components/pro-components
Version:
基于@arco-design/web-vue组件的高级组件,包括pro-table
67 lines (66 loc) • 1.3 kB
JavaScript
;
var vue = require("vue");
var webVue = require("@arco-design/web-vue");
const Status = {
Success: ({
text
}) => vue.createVNode(webVue.Badge, {
"status": "success",
"text": text
}, null),
Error: ({
text
}) => vue.createVNode(webVue.Badge, {
"status": "danger",
"text": text
}, null),
Default: ({
text
}) => vue.createVNode(webVue.Badge, {
"status": "normal",
"text": text
}, null),
Processing: ({
text
}) => vue.createVNode(webVue.Badge, {
"status": "processing",
"text": text
}, null),
Warning: ({
text
}) => vue.createVNode(webVue.Badge, {
"status": "warning",
"text": text
}, null),
success: ({
text
}) => vue.createVNode(webVue.Badge, {
"status": "success",
"text": text
}, null),
error: ({
text
}) => vue.createVNode(webVue.Badge, {
"status": "danger",
"text": text
}, null),
default: ({
text
}) => vue.createVNode(webVue.Badge, {
"status": "normal",
"text": text
}, null),
processing: ({
text
}) => vue.createVNode(webVue.Badge, {
"status": "processing",
"text": text
}, null),
warning: ({
text
}) => vue.createVNode(webVue.Badge, {
"status": "warning",
"text": text
}, null)
};
module.exports = Status;