new Files
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
<script src = "./vender/codemirror.js"></script>
|
||||
<script src = "./vender/fabric.js"></script>
|
||||
<!-- 局域网环境, 请下载 editor.js替换以下路径 -->
|
||||
<script src="https://www.x-emr.cn/js/editor.js"></script>
|
||||
<script src="./vender/editor.js"></script>
|
||||
<script>
|
||||
$(function() {
|
||||
//配置项可以不设置,会使用默认设置
|
||||
|
@ -15,10 +15,10 @@
|
||||
<script>
|
||||
require.config({
|
||||
baseUrl: 'http://localhost:81/src',
|
||||
paths: {'editor': 'editor'}
|
||||
paths: {'editor': 'vender/editor'}
|
||||
})
|
||||
|
||||
require(['editor'], function () {
|
||||
require(['public/vender/editor.js'], function () {
|
||||
|
||||
//配置项可以不设置,会使用默认设置
|
||||
let option = {
|
||||
|
1
front/public/vender/editor.js
Normal file
1
front/public/vender/editor.js
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user