From 1b40a298a0bc609f7864bb3d08822d20ddb2e6e4 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 17 九月 2024 11:54:07 +0800 Subject: [PATCH] 工单图片在详情中展示 --- src/main.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index 96e7994..6df0404 100644 --- a/src/main.js +++ b/src/main.js @@ -4,7 +4,8 @@ import { getToken } from "@/utils/auth"; import Element from 'element-ui' import './assets/styles/element-variables.scss' - +import * as echarts from 'echarts' +import 'echarts-gl' import '@/assets/styles/index.scss' // global css import '@/assets/styles/ruoyi.scss' // ruoyi css import App from './App' @@ -60,7 +61,7 @@ Vue.prototype.getToken = getToken Vue.prototype.$uploadUrl = process.env.VUE_APP_BASE_API + "/common/upload" Vue.prototype.$img = process.env.VUE_APP_BASE_API - +Vue.prototype.$echarts = echarts // 鍏ㄥ眬缁勪欢鎸傝浇 Vue.component('DictTag', DictTag) -- Gitblit v1.8.0