assetMgtH5/main.js
@@ -16,8 +16,10 @@ import cuCustom from './colorui/components/cu-custom.vue' Vue.component('cu-custom',cuCustom) import { http } from '@/api/requestConfig.js'; // 全局挂载引入,配置相关在该index.js文件里修改 Vue.prototype.$http = http import { http,apiBaseUrl } from '@/api/requestConfig.js'; // 全局挂载引入,配置相关在该index.js文件里修改 Vue.prototype.$http = http; Vue.prototype.$ApiUrl = apiBaseUrl; // 路由守卫 @@ -59,7 +61,6 @@ // import dayjs from 'dayjs'; var dayjs = require('dayjs'); Vue.prototype.$dayjs = dayjs;