diff --git a/frontend/src/login/login.js b/frontend/src/login/login.js index 10d516cb2f..16002a6af0 100644 --- a/frontend/src/login/login.js +++ b/frontend/src/login/login.js @@ -1,5 +1,5 @@ import Vue from 'vue'; -import {Button, Col, Form, FormItem, Input, Row, RadioGroup, Radio} from 'element-ui'; +import {Button, Col, Form, FormItem, Input, Row, RadioGroup, Radio, MessageBox} from 'element-ui'; import 'element-ui/lib/theme-chalk/index.css'; import Login from "./Login.vue"; import Ajax from "../common/js/ajax"; @@ -21,6 +21,7 @@ Vue.use(RadioGroup); Vue.use(Radio); Vue.use(Ajax); +Vue.prototype.$confirm=MessageBox.confirm; new Vue({ el: '#login',