修改editor样式
This commit is contained in:
@@ -63,7 +63,7 @@ const GetEchar = async (name: string) => {
|
||||
|
||||
legend: {
|
||||
orient: 'vertical',
|
||||
left: 26,
|
||||
left: 25,
|
||||
bottom: 40,
|
||||
itemWidth: 16,
|
||||
itemHeight: 16,
|
||||
|
||||
@@ -28,11 +28,11 @@ onMounted(() => {
|
||||
const toolbarConfig = {
|
||||
excludeKeys: ['fullScreen', 'emotion']
|
||||
}
|
||||
let sever = '/system-boot/file/upload'
|
||||
let sever = '/api/system-boot/file/upload'
|
||||
// 本地加api
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
sever = '/api' + sever
|
||||
}
|
||||
// if (process.env.NODE_ENV === 'development') {
|
||||
// sever = '/api' + sever
|
||||
// }
|
||||
type InsertFnType = (url: string, alt: string, href: string) => void
|
||||
const editorConfig = {
|
||||
placeholder: '请输入内容...',
|
||||
@@ -40,6 +40,7 @@ const editorConfig = {
|
||||
uploadImage: {
|
||||
server: sever,
|
||||
fieldName: 'file',
|
||||
maxFileSize: 10 * 1024 * 1024,
|
||||
compress: true,
|
||||
uploadFileName: 'file',
|
||||
withCredentials: true,
|
||||
|
||||
Reference in New Issue
Block a user