zhuguifei
2025-04-28 442928123f63ee497d766f9a7a14f0a6ee067e25
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
// 导入自己需要的组件
import {
    Dialog,
    Dropdown,
    DropdownMenu,
    DropdownItem,
    Menu,
    Submenu,
    MenuItem,
    MenuItemGroup,
    Input,
    InputNumber,
    Radio,
    RadioGroup,
    RadioButton,
    Select,
    Option,
    OptionGroup,
    Button,
    ButtonGroup,
    Table,
    TableColumn,
    Tooltip,
    Form,
    FormItem,
    Icon,
    Upload,
    Image,
    Backtop,
    MessageBox,
    Message,
    Notification,
    Avatar,
    Container,
    Header,
    Aside,
    Main,
    Footer,
    Breadcrumb,
    BreadcrumbItem,
    Loading,
    Timeline,
    TimelineItem,
    Alert,
    Tree,
    Progress,
    Slider,
    Divider,
    Pagination,
    CheckboxGroup,
    Checkbox,
    Popover,
    Carousel,
    CarouselItem,
    DatePicker,
    Drawer,
  Steps,
  Step,
} from 'element-ui'
 
 
const element = {
    install: function (Vue) {
        Vue.use(Dialog)
        Vue.use(Dropdown)
        Vue.use(DropdownMenu)
        Vue.use(DropdownItem)
        Vue.use(Menu)
        Vue.use(Submenu)
        Vue.use(MenuItem)
        Vue.use(MenuItemGroup)
        Vue.use(Input)
        Vue.use(InputNumber)
        Vue.use(Radio)
        Vue.use(RadioGroup)
        Vue.use(RadioButton)
        Vue.use(Select)
        Vue.use(Option)
        Vue.use(OptionGroup)
        Vue.use(Button)
        Vue.use(ButtonGroup)
        Vue.use(Table)
        Vue.use(TableColumn)
        Vue.use(Tooltip)
        Vue.use(Form)
        Vue.use(FormItem)
        Vue.use(Icon)
        Vue.use(Upload)
        Vue.use(Image)
        Vue.use(Backtop)
        Vue.use(Avatar)
        Vue.use(Container)
        Vue.use(Header)
        Vue.use(Aside)
        Vue.use(Main)
        Vue.use(Footer)
        Vue.use(Breadcrumb)
        Vue.use(BreadcrumbItem)
        Vue.use(Loading.directive)
        Vue.use(Timeline)
        Vue.use(TimelineItem)
        Vue.use(Alert)
        Vue.use(Tree)
        Vue.use(Progress)
        Vue.use(Slider)
        Vue.use(Divider)
        Vue.use(Pagination)
        Vue.use(CheckboxGroup)
        Vue.use(Checkbox)
        Vue.use(Popover)
        Vue.use(Carousel)
        Vue.use(CarouselItem)
        Vue.use(DatePicker)
        Vue.use(Drawer)
        Vue.use(Step)
        Vue.use(Steps)
        Vue.prototype.$loading = Loading.service
        Vue.prototype.$msgbox = MessageBox
        Vue.prototype.$alert = MessageBox.alert
        Vue.prototype.$elconfirm = MessageBox.confirm
        Vue.prototype.$prompt = MessageBox.prompt
        Vue.prototype.$notify = Notification
        Vue.prototype.$message = Message
    }
}
export default element