# pc_admin_system **Repository Path**: PanJianHua/pc_admin_system ## Basic Information - **Project Name**: pc_admin_system - **Description**: 后台系统 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-02-28 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # manage-system 基于 Vue.js + Element UI + Vuex 的后台管理系统解决方案 # 文本编辑器上传图片对接 ``` this.editorOption = { placeholder: '店铺介绍不得少于10字,且不得超过2500字!', theme: 'snow', // 主题 modules: { toolbar: { container: [ ['bold', 'italic', 'underline', 'strike'], ['blockquote', 'code-block'], [{'header': 1}, {'header': 2}], [{'list': 'ordered'}, {'list': 'bullet'}], [{'script': 'sub'}, {'script': 'super'}], [{'indent': '-1'}, {'indent': '+1'}], [{'direction': 'rtl'}], [{'size': ['small', false, 'large', 'huge']}], [{'header': [1, 2, 3, 4, 5, 6, false]}], [{'color': []}, {'background': []}], [{'font': []}], [{'align': []}], ['clean'], ['link', 'image', 'video'] ], // 工具栏选项 handlers: { image: (value) => { console.log('value',value); var fileInput = document.querySelector('input.ql-image[type=file]'); if (fileInput === null) { fileInput = document.createElement('input'); fileInput.setAttribute('type', 'file'); fileInput.click(); // 监听选择文件 fileInput.addEventListener('change', (file) => { console.log(file); }) } } } // 事件重写 } } } ``` ## 组件使用说明与演示 ### vue-schart vue.js 封装 sChart.js 的图表组件。访问地址:[vue-schart](https://github.com/linxin/vue-schart)
```html