From 1f478b4b033d518f6de21f931d828d2a175b2a3e Mon Sep 17 00:00:00 2001 From: wzp <2880584989@qq.com> Date: 星期二, 08 三月 2022 13:40:51 +0800 Subject: [PATCH] 最新版本,修复bug --- assetMgtH5/main.js | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/assetMgtH5/main.js b/assetMgtH5/main.js index 1399797..fdaaabd 100644 --- a/assetMgtH5/main.js +++ b/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'; // 鍏ㄥ眬鎸傝浇寮曞叆锛岄厤缃浉鍏冲湪璇ndex.js鏂囦欢閲屼慨鏀� -Vue.prototype.$http = http +import { http,apiBaseUrl } from '@/api/requestConfig.js'; // 鍏ㄥ眬鎸傝浇寮曞叆锛岄厤缃浉鍏冲湪璇ndex.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; -- Gitblit v1.9.1