From 310e94da295de75bb1388fd0bbd5b065b97c1c57 Mon Sep 17 00:00:00 2001 From: ronger Date: Fri, 5 Apr 2024 10:48:32 +0800 Subject: [PATCH] =?UTF-8?q?chore(deps):=20vditor=20=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E5=8D=87=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/api.config.js | 14 +++++++------- package.json | 2 +- pages/draft/_draft_id.vue | 2 ++ 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/config/api.config.js b/config/api.config.js index 2ba3259..df0bb6a 100644 --- a/config/api.config.js +++ b/config/api.config.js @@ -7,9 +7,9 @@ const apisMap = { CDN: '', PROXY: '/proxy', SOCKET: 'http://localhost:3000/ws', - GRAVATAR: '/proxy/static.rymcu.com/avatar', - VDITOR: 'https://static.rymcu.com/vditor@3.9.8/', - VDITOR_CSS: 'https://static.rymcu.com/vditor@3.9.8/dist/css/content-theme' + GRAVATAR: 'https://static.rymcu.com/avatar', + VDITOR: 'https://static.rymcu.com/vditor@3.10.3/', + VDITOR_CSS: 'https://static.rymcu.com/vditor@3.10.3/dist/css/content-theme' }, test: { FE: 'https://rymcu.com', @@ -18,8 +18,8 @@ const apisMap = { PROXY: 'https://static.rymcu.com/proxy', SOCKET: 'https://rymcu.com/wss', GRAVATAR: 'https://static.rymcu.com/avatar', - VDITOR: 'https://static.rymcu.com/vditor@3.9.8/', - VDITOR_CSS: 'https://static.rymcu.com/vditor@3.9.8/dist/css/content-theme' + VDITOR: 'https://static.rymcu.com/vditor@3.10.3/', + VDITOR_CSS: 'https://static.rymcu.com/vditor@3.10.3/dist/css/content-theme' }, production: { FE: 'https://rymcu.com', @@ -28,8 +28,8 @@ const apisMap = { PROXY: 'https://static.rymcu.com/proxy', SOCKET: 'https://rymcu.com/wss', GRAVATAR: 'https://static.rymcu.com/avatar', - VDITOR: 'https://static.rymcu.com/vditor@3.9.8/', - VDITOR_CSS: 'https://static.rymcu.com/vditor@3.9.8/dist/css/content-theme' + VDITOR: 'https://static.rymcu.com/vditor@3.10.3/', + VDITOR_CSS: 'https://static.rymcu.com/vditor@3.10.3/dist/css/content-theme' } } diff --git a/package.json b/package.json index 6fac827..cb8e41e 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "raw-loader": "^4.0.2", "save-svg-as-png": "^1.4.17", "simple-icons": "^6.23.0", - "vditor": "^3.8.18", + "vditor": "^3.10.3", "vue-cropper": "^0.6.2", "vue-sse": "^2.5.2", "vuejs-avataaars": "^4.0.1" diff --git a/pages/draft/_draft_id.vue b/pages/draft/_draft_id.vue index d180413..8c4592f 100644 --- a/pages/draft/_draft_id.vue +++ b/pages/draft/_draft_id.vue @@ -68,6 +68,8 @@ import Vue from 'vue'; import {mapState} from 'vuex'; import 'vditor/dist/css/content-theme/light.css'; + import apiConfig from '~/config/api.config' + export default { name: "DraftDetail",