From f934de5bf5fae15b9d79061e9fe3441aeb13d394 Mon Sep 17 00:00:00 2001 From: Fixiaobai <fixiaobai@163.com> Date: 星期一, 21 八月 2023 18:03:15 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.110.209:9001/r/lims-before --- src/main.js | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main.js b/src/main.js index 6319eed..e996df0 100644 --- a/src/main.js +++ b/src/main.js @@ -17,6 +17,8 @@ import '@/icons' // icon import '@/permission' // permission control +import url from './api/url.js' + /** * If you don't want to use mock-server * you want to use MockJs for mock api @@ -30,11 +32,17 @@ mockXHR() } +Vue.prototype.HaveJson = (val) => { + return JSON.parse(JSON.stringify(val)) +} + // set ElementUI lang to EN Vue.use(ElementUI, { locale }) // 濡傛灉鎯宠涓枃鐗� element-ui锛屾寜濡備笅鏂瑰紡澹版槑 // Vue.use(ElementUI) +Vue.use(url); + Vue.config.productionTip = false new Vue({ -- Gitblit v1.9.3