@@ -13,14 +13,28 @@ import "@/utils/rem";
import "@/common/permission";
// 全局css
import "@/styles/index.scss";
-import { Button, Image, Dialog, NavBar, Tabbar, TabbarItem, Tabs, Tab, Grid, GridItem, Icon, List, Cell } from "vant";
+import {
+ Button,
+ Image,
+ Dialog,
+ NavBar,
+ Tabbar,
+ TabbarItem,
+ Tabs,
+ Tab,
+ Grid,
+ GridItem,
+ Icon,
+ List,
+ Cell
+} from "vant";
window.$_http = axios;
// event Bus 用于无关系组件间的通信。
Vue.prototype.$bus = new Vue();
Vue.prototype.$_http = axios;
Vue.prototype.$_API = API;
-Vue.use(common)
+Vue.use(common);
Vue.component("VanButton", Button);
Vue.component("VanImage", Image);