vue2-client 1.8.139 → 1.8.140

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.8.139",
3
+ "version": "1.8.140",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -30,7 +30,7 @@ export default {
30
30
  },
31
31
  mode: {
32
32
  type: String,
33
- default: 'sql' // 目前只有 sql/go 如果需要配置其他语言,需要在 setting.js 中配置 更多看官方文档
33
+ default: 'sql' // 目前只有 sql/go/js 如果需要配置其他语言,需要在 setting.js 中配置 更多看官方文档
34
34
  },
35
35
  styleObj: {
36
36
  type: Object,
@@ -15,6 +15,7 @@ import 'codemirror/addon/search/match-highlighter.js'
15
15
  // keyMap
16
16
  import 'codemirror/mode/go/go.js'
17
17
  import 'codemirror/mode/sql/sql.js'
18
+ import 'codemirror/mode/javascript/javascript.js'
18
19
  import 'codemirror/addon/edit/matchbrackets.js'
19
20
  import 'codemirror/addon/comment/comment.js'
20
21
  import 'codemirror/addon/dialog/dialog.js'
@@ -34,5 +35,6 @@ import 'codemirror/addon/fold/xml-fold.js'
34
35
  // 编辑的主题文件
35
36
  import 'codemirror/theme/dracula.css'
36
37
  import 'codemirror/theme/base16-light.css'
38
+ import 'codemirror/theme/monokai.css'
37
39
  // 括号自动不全
38
40
  import 'codemirror/addon/edit/closebrackets.js'