chore(deps): vditor 依赖升级

This commit is contained in:
ronger 2024-04-05 10:48:32 +08:00
parent 7d6fb42b39
commit 310e94da29
3 changed files with 10 additions and 8 deletions

View File

@ -7,9 +7,9 @@ const apisMap = {
CDN: '', CDN: '',
PROXY: '/proxy', PROXY: '/proxy',
SOCKET: 'http://localhost:3000/ws', SOCKET: 'http://localhost:3000/ws',
GRAVATAR: '/proxy/static.rymcu.com/avatar', GRAVATAR: 'https://static.rymcu.com/avatar',
VDITOR: 'https://static.rymcu.com/vditor@3.9.8/', VDITOR: 'https://static.rymcu.com/vditor@3.10.3/',
VDITOR_CSS: 'https://static.rymcu.com/vditor@3.9.8/dist/css/content-theme' VDITOR_CSS: 'https://static.rymcu.com/vditor@3.10.3/dist/css/content-theme'
}, },
test: { test: {
FE: 'https://rymcu.com', FE: 'https://rymcu.com',
@ -18,8 +18,8 @@ const apisMap = {
PROXY: 'https://static.rymcu.com/proxy', PROXY: 'https://static.rymcu.com/proxy',
SOCKET: 'https://rymcu.com/wss', SOCKET: 'https://rymcu.com/wss',
GRAVATAR: 'https://static.rymcu.com/avatar', GRAVATAR: 'https://static.rymcu.com/avatar',
VDITOR: 'https://static.rymcu.com/vditor@3.9.8/', VDITOR: 'https://static.rymcu.com/vditor@3.10.3/',
VDITOR_CSS: 'https://static.rymcu.com/vditor@3.9.8/dist/css/content-theme' VDITOR_CSS: 'https://static.rymcu.com/vditor@3.10.3/dist/css/content-theme'
}, },
production: { production: {
FE: 'https://rymcu.com', FE: 'https://rymcu.com',
@ -28,8 +28,8 @@ const apisMap = {
PROXY: 'https://static.rymcu.com/proxy', PROXY: 'https://static.rymcu.com/proxy',
SOCKET: 'https://rymcu.com/wss', SOCKET: 'https://rymcu.com/wss',
GRAVATAR: 'https://static.rymcu.com/avatar', GRAVATAR: 'https://static.rymcu.com/avatar',
VDITOR: 'https://static.rymcu.com/vditor@3.9.8/', VDITOR: 'https://static.rymcu.com/vditor@3.10.3/',
VDITOR_CSS: 'https://static.rymcu.com/vditor@3.9.8/dist/css/content-theme' VDITOR_CSS: 'https://static.rymcu.com/vditor@3.10.3/dist/css/content-theme'
} }
} }

View File

@ -27,7 +27,7 @@
"raw-loader": "^4.0.2", "raw-loader": "^4.0.2",
"save-svg-as-png": "^1.4.17", "save-svg-as-png": "^1.4.17",
"simple-icons": "^6.23.0", "simple-icons": "^6.23.0",
"vditor": "^3.8.18", "vditor": "^3.10.3",
"vue-cropper": "^0.6.2", "vue-cropper": "^0.6.2",
"vue-sse": "^2.5.2", "vue-sse": "^2.5.2",
"vuejs-avataaars": "^4.0.1" "vuejs-avataaars": "^4.0.1"

View File

@ -68,6 +68,8 @@
import Vue from 'vue'; import Vue from 'vue';
import {mapState} from 'vuex'; import {mapState} from 'vuex';
import 'vditor/dist/css/content-theme/light.css'; import 'vditor/dist/css/content-theme/light.css';
import apiConfig from '~/config/api.config'
export default { export default {
name: "DraftDetail", name: "DraftDetail",