Commit b33b75d94a447b5b1d8299740c759874d13dd9f1
1 parent
aa65d6a4
降低前端搭建难度,暂时删除tui-editor插件
Showing
6 changed files
with
6 additions
and
321 deletions
ant-design-vue-jeecg/package.json
ant-design-vue-jeecg/src/components/jeecg/JMarkdownEditor/default-options.js deleted
1 | -export default { | |
2 | - minHeight: '200px', | |
3 | - previewStyle: 'vertical', | |
4 | - useCommandShortcut: true, | |
5 | - useDefaultHTMLSanitizer: true, | |
6 | - usageStatistics: false, | |
7 | - hideModeSwitch: false, | |
8 | - toolbarItems: [ | |
9 | - 'heading', | |
10 | - 'bold', | |
11 | - 'italic', | |
12 | - 'strike', | |
13 | - 'divider', | |
14 | - 'hr', | |
15 | - 'quote', | |
16 | - 'divider', | |
17 | - 'ul', | |
18 | - 'ol', | |
19 | - 'task', | |
20 | - 'indent', | |
21 | - 'outdent', | |
22 | - 'divider', | |
23 | - 'table', | |
24 | - 'image', | |
25 | - 'link', | |
26 | - 'divider', | |
27 | - 'code', | |
28 | - 'codeblock' | |
29 | - ] | |
30 | -} |
ant-design-vue-jeecg/src/components/jeecg/JMarkdownEditor/index.vue deleted
1 | -<template> | |
2 | - <div :id="id" /> | |
3 | -</template> | |
4 | - | |
5 | -<script> | |
6 | -import 'codemirror/lib/codemirror.css' | |
7 | -import 'tui-editor/dist/tui-editor.css' | |
8 | -import 'tui-editor/dist/tui-editor-contents.css' | |
9 | - | |
10 | -import Editor from 'tui-editor' | |
11 | -import defaultOptions from './default-options' | |
12 | - | |
13 | -export default { | |
14 | - name: 'JMarkdownEditor', | |
15 | - props: { | |
16 | - value: { | |
17 | - type: String, | |
18 | - default: '' | |
19 | - }, | |
20 | - id: { | |
21 | - type: String, | |
22 | - required: false, | |
23 | - default() { | |
24 | - return 'markdown-editor-' + +new Date() + ((Math.random() * 1000).toFixed(0) + '') | |
25 | - } | |
26 | - }, | |
27 | - options: { | |
28 | - type: Object, | |
29 | - default() { | |
30 | - return defaultOptions | |
31 | - } | |
32 | - }, | |
33 | - mode: { | |
34 | - type: String, | |
35 | - default: 'markdown' | |
36 | - }, | |
37 | - height: { | |
38 | - type: String, | |
39 | - required: false, | |
40 | - default: '300px' | |
41 | - }, | |
42 | - language: { | |
43 | - type: String, | |
44 | - required: false, | |
45 | - default: 'en_US' | |
46 | - } | |
47 | - }, | |
48 | - data() { | |
49 | - return { | |
50 | - editor: null | |
51 | - } | |
52 | - }, | |
53 | - computed: { | |
54 | - editorOptions() { | |
55 | - const options = Object.assign({}, defaultOptions, this.options) | |
56 | - options.initialEditType = this.mode | |
57 | - options.height = this.height | |
58 | - options.language = this.language | |
59 | - return options | |
60 | - } | |
61 | - }, | |
62 | - watch: { | |
63 | - value(newValue, preValue) { | |
64 | - if (newValue !== preValue && newValue !== this.editor.getValue()) { | |
65 | - this.editor.setValue(newValue) | |
66 | - } | |
67 | - }, | |
68 | - language(val) { | |
69 | - this.destroyEditor() | |
70 | - this.initEditor() | |
71 | - }, | |
72 | - height(newValue) { | |
73 | - this.editor.height(newValue) | |
74 | - }, | |
75 | - mode(newValue) { | |
76 | - this.editor.changeMode(newValue) | |
77 | - } | |
78 | - }, | |
79 | - mounted() { | |
80 | - this.initEditor() | |
81 | - }, | |
82 | - destroyed() { | |
83 | - this.destroyEditor() | |
84 | - }, | |
85 | - methods: { | |
86 | - initEditor() { | |
87 | - this.editor = new Editor({ | |
88 | - el: document.getElementById(this.id), | |
89 | - ...this.editorOptions | |
90 | - }) | |
91 | - if (this.value) { | |
92 | - this.editor.setValue(this.value) | |
93 | - } | |
94 | - this.editor.on('change', () => { | |
95 | - this.$emit('change', this.editor.getValue()) | |
96 | - }) | |
97 | - }, | |
98 | - destroyEditor() { | |
99 | - if (!this.editor) return | |
100 | - this.editor.off('change') | |
101 | - this.editor.remove() | |
102 | - }, | |
103 | - setValue(value) { | |
104 | - this.editor.setValue(value) | |
105 | - }, | |
106 | - getValue() { | |
107 | - return this.editor.getValue() | |
108 | - }, | |
109 | - setHtml(value) { | |
110 | - this.editor.setHtml(value) | |
111 | - }, | |
112 | - getHtml() { | |
113 | - return this.editor.getHtml() | |
114 | - } | |
115 | - }, | |
116 | - model: { | |
117 | - prop: 'value', | |
118 | - event: 'change' | |
119 | - } | |
120 | -} | |
121 | -</script> |
ant-design-vue-jeecg/src/views/jeecg/SelectDemo.vue
... | ... | @@ -374,7 +374,7 @@ |
374 | 374 | </a-col> |
375 | 375 | <a-col :span="12">输入的值(v-model):{{ formData.jInput }}</a-col> |
376 | 376 | </a-row> |
377 | - <a-row :gutter="24"> | |
377 | + <!-- <a-row :gutter="24"> | |
378 | 378 | <a-col :span="15"> |
379 | 379 | <a-form-item label="MarkdownEditor" style="min-height: 300px"> |
380 | 380 | <j-markdown-editor v-model="content"></j-markdown-editor> |
... | ... | @@ -383,7 +383,7 @@ |
383 | 383 | <a-col :span="9"> |
384 | 384 | 输入的值(v-model):{{ content }} |
385 | 385 | </a-col> |
386 | - </a-row> | |
386 | + </a-row>--> | |
387 | 387 | |
388 | 388 | <!-- 省市县级联 --> |
389 | 389 | <a-row :gutter="24"> |
... | ... | @@ -456,14 +456,12 @@ |
456 | 456 | import JMultiSelectTag from '@comp/dict/JMultiSelectTag' |
457 | 457 | import JInput from '@comp/jeecg/JInput' |
458 | 458 | import JAreaLinkage from '@comp/jeecg/JAreaLinkage' |
459 | - import JMarkdownEditor from '@/components/jeecg/JMarkdownEditor/index' | |
460 | 459 | import JSearchSelectTag from '@/components/dict/JSearchSelectTag' |
461 | 460 | |
462 | 461 | export default { |
463 | 462 | name: 'SelectDemo', |
464 | 463 | inject:['closeCurrent'], |
465 | 464 | components: { |
466 | - JMarkdownEditor, | |
467 | 465 | JAreaLinkage, |
468 | 466 | JInput, |
469 | 467 | JCategorySelect, |
... | ... |
ant-design-vue-jeecg/yarn.lock
... | ... | @@ -910,13 +910,6 @@ |
910 | 910 | resolved "https://registry.npmjs.org/@types/anymatch/-/anymatch-1.3.1.tgz#336badc1beecb9dacc38bea2cf32adf627a8421a" |
911 | 911 | integrity sha512-/+CRPXpBDpo2RK9C68N3b2cOvO0Cf5B9aPijHsoDQTHivnGSObdOF2BRQOYjojWTDy6nQvMjmqRXIxH55VjxxA== |
912 | 912 | |
913 | -"@types/codemirror@0.0.71": | |
914 | - version "0.0.71" | |
915 | - resolved "https://registry.npmjs.org/@types/codemirror/-/codemirror-0.0.71.tgz#861f1bcb3100c0a064567c5400f2981cf4ae8ca7" | |
916 | - integrity sha512-b2oEEnno1LIGKMR7uBEsr40al1UijF1HEpRn0+Yf1xOLl24iQgB7DBpZVMM7y54G5wCNoclDrRO65E6KHPNO2w== | |
917 | - dependencies: | |
918 | - "@types/tern" "*" | |
919 | - | |
920 | 913 | "@types/color-name@^1.1.1": |
921 | 914 | version "1.1.1" |
922 | 915 | resolved "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0" |
... | ... | @@ -927,11 +920,6 @@ |
927 | 920 | resolved "https://registry.npmjs.org/@types/d3-format/-/d3-format-1.3.1.tgz#35bf88264bd6bcda39251165bb827f67879c4384" |
928 | 921 | integrity sha512-KAWvReOKMDreaAwOjdfQMm0HjcUMlQG47GwqdVKgmm20vTd2pucj0a70c3gUSHrnsmo6H2AMrkBsZU2UhJLq8A== |
929 | 922 | |
930 | -"@types/estree@*": | |
931 | - version "0.0.42" | |
932 | - resolved "https://registry.npmjs.org/@types/estree/-/estree-0.0.42.tgz#8d0c1f480339efedb3e46070e22dd63e0430dd11" | |
933 | - integrity sha512-K1DPVvnBCPxzD+G51/cxVIoc2X8uUVl1zpJeE6iKcgHMj4+tbat5Xu4TjV7v2QSDbIeAfLi2hIk+u2+s0MlpUQ== | |
934 | - | |
935 | 923 | "@types/events@*": |
936 | 924 | version "3.0.0" |
937 | 925 | resolved "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7" |
... | ... | @@ -951,30 +939,11 @@ |
951 | 939 | resolved "https://registry.npmjs.org/@types/html-minifier-terser/-/html-minifier-terser-5.0.0.tgz#7532440c138605ced1b555935c3115ddd20e8bef" |
952 | 940 | integrity sha512-q95SP4FdkmF0CwO0F2q0H6ZgudsApaY/yCtAQNRn1gduef5fGpyEphzy0YCq/N0UFvDSnLg5V8jFK/YGXlDiCw== |
953 | 941 | |
954 | -"@types/jquery@^3.3.29": | |
955 | - version "3.3.33" | |
956 | - resolved "https://registry.npmjs.org/@types/jquery/-/jquery-3.3.33.tgz#61d9cbd4004ffcdf6cf7e34720a87a5625a7d8e9" | |
957 | - integrity sha512-U6IdXYGkfUI42SR79vB2Spj+h1Ly3J3UZjpd8mi943lh126TK7CB+HZOxGh2nM3IySor7wqVQdemD/xtydsBKA== | |
958 | - dependencies: | |
959 | - "@types/sizzle" "*" | |
960 | - | |
961 | -"@types/linkify-it@*": | |
962 | - version "2.1.0" | |
963 | - resolved "https://registry.npmjs.org/@types/linkify-it/-/linkify-it-2.1.0.tgz#ea3dd64c4805597311790b61e872cbd1ed2cd806" | |
964 | - integrity sha512-Q7DYAOi9O/+cLLhdaSvKdaumWyHbm7HAk/bFwwyTuU0arR5yyCeW5GOoqt4tJTpDRxhpx9Q8kQL6vMpuw9hDSw== | |
965 | - | |
966 | 942 | "@types/lodash@*": |
967 | 943 | version "4.14.149" |
968 | 944 | resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.149.tgz#1342d63d948c6062838fbf961012f74d4e638440" |
969 | 945 | integrity sha512-ijGqzZt/b7BfzcK9vTrS6MFljQRPn5BFWOx8oE0GYxribu6uV+aA9zZuXI1zc/etK9E8nrgdoF2+LgUw7+9tJQ== |
970 | 946 | |
971 | -"@types/markdown-it@0.0.7": | |
972 | - version "0.0.7" | |
973 | - resolved "https://registry.npmjs.org/@types/markdown-it/-/markdown-it-0.0.7.tgz#75070485a3d8ad11e7deb8287f4430be15bf4d39" | |
974 | - integrity sha512-WyL6pa76ollQFQNEaLVa41ZUUvDvPY+qAUmlsphnrpL6I9p1m868b26FyeoOmo7X3/Ta/S9WKXcEYXUSHnxoVQ== | |
975 | - dependencies: | |
976 | - "@types/linkify-it" "*" | |
977 | - | |
978 | 947 | "@types/minimatch@*": |
979 | 948 | version "3.0.3" |
980 | 949 | resolved "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d" |
... | ... | @@ -1000,11 +969,6 @@ |
1000 | 969 | resolved "https://registry.npmjs.org/@types/q/-/q-1.5.2.tgz#690a1475b84f2a884fd07cd797c00f5f31356ea8" |
1001 | 970 | integrity sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw== |
1002 | 971 | |
1003 | -"@types/sizzle@*": | |
1004 | - version "2.3.2" | |
1005 | - resolved "https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.2.tgz#a811b8c18e2babab7d542b3365887ae2e4d9de47" | |
1006 | - integrity sha512-7EJYyKTL7tFR8+gDbB6Wwz/arpGa0Mywk1TJbNzKzHtzbwVmY4HR9WqS5VV7dsBUKQmPNr192jHr/VpBluj/hg== | |
1007 | - | |
1008 | 972 | "@types/source-list-map@*": |
1009 | 973 | version "0.1.2" |
1010 | 974 | resolved "https://registry.npmjs.org/@types/source-list-map/-/source-list-map-0.1.2.tgz#0078836063ffaf17412349bba364087e0ac02ec9" |
... | ... | @@ -1015,13 +979,6 @@ |
1015 | 979 | resolved "https://registry.npmjs.org/@types/tapable/-/tapable-1.0.5.tgz#9adbc12950582aa65ead76bffdf39fe0c27a3c02" |
1016 | 980 | integrity sha512-/gG2M/Imw7cQFp8PGvz/SwocNrmKFjFsm5Pb8HdbHkZ1K8pmuPzOX4VeVoiEecFCVf4CsN1r3/BRvx+6sNqwtQ== |
1017 | 981 | |
1018 | -"@types/tern@*": | |
1019 | - version "0.23.3" | |
1020 | - resolved "https://registry.npmjs.org/@types/tern/-/tern-0.23.3.tgz#4b54538f04a88c9ff79de1f6f94f575a7f339460" | |
1021 | - integrity sha512-imDtS4TAoTcXk0g7u4kkWqedB3E4qpjXzCpD2LU5M5NAXHzCDsypyvXSaG7mM8DKYkCRa7tFp4tS/lp/Wo7Q3w== | |
1022 | - dependencies: | |
1023 | - "@types/estree" "*" | |
1024 | - | |
1025 | 982 | "@types/uglify-js@*": |
1026 | 983 | version "3.9.0" |
1027 | 984 | resolved "https://registry.npmjs.org/@types/uglify-js/-/uglify-js-3.9.0.tgz#4490a140ca82aa855ad68093829e7fd6ae94ea87" |
... | ... | @@ -3239,7 +3196,7 @@ code-point-at@^1.0.0: |
3239 | 3196 | resolved "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" |
3240 | 3197 | integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= |
3241 | 3198 | |
3242 | -codemirror@^5.46.0, codemirror@^5.48.4: | |
3199 | +codemirror@^5.46.0: | |
3243 | 3200 | version "5.52.0" |
3244 | 3201 | resolved "https://registry.npmjs.org/codemirror/-/codemirror-5.52.0.tgz#4dbd6aef7f0e63db826b9a23922f0c03ac75c0a7" |
3245 | 3202 | integrity sha512-K2UB6zjscrfME03HeRe/IuOmCeqNpw7PLKGHThYpLbZEuKf+ZoujJPhxZN4hHJS1O7QyzEsV7JJZGxuQWVaFCg== |
... | ... | @@ -3527,11 +3484,6 @@ core-js@^2.4.0, core-js@^2.5.0, core-js@^2.6.5: |
3527 | 3484 | resolved "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz#38831469f9922bded8ee21c9dc46985e0399308c" |
3528 | 3485 | integrity sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg== |
3529 | 3486 | |
3530 | -core-js@^3.6.4: | |
3531 | - version "3.6.4" | |
3532 | - resolved "https://registry.npmjs.org/core-js/-/core-js-3.6.4.tgz#440a83536b458114b9cb2ac1580ba377dc470647" | |
3533 | - integrity sha512-4paDGScNgZP2IXXilaffL9X7968RuvwlkK3xWtZRVqgd8SYNiVKRJvkFd1aqqEuPfN7E68ZHEp9hDj6lHj4Hyw== | |
3534 | - | |
3535 | 3487 | core-util-is@1.0.2, core-util-is@~1.0.0: |
3536 | 3488 | version "1.0.2" |
3537 | 3489 | resolved "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" |
... | ... | @@ -4547,7 +4499,7 @@ enquire.js@^2.1.6: |
4547 | 4499 | resolved "https://registry.npmjs.org/enquire.js/-/enquire.js-2.1.6.tgz#3e8780c9b8b835084c3f60e166dbc3c2a3c89814" |
4548 | 4500 | integrity sha1-PoeAybi4NQhMP2DhZtvDwqPImBQ= |
4549 | 4501 | |
4550 | -entities@^1.1.1, entities@~1.1.1: | |
4502 | +entities@^1.1.1: | |
4551 | 4503 | version "1.1.2" |
4552 | 4504 | resolved "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56" |
4553 | 4505 | integrity sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w== |
... | ... | @@ -4964,10 +4916,6 @@ etag@~1.8.1: |
4964 | 4916 | resolved "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" |
4965 | 4917 | integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc= |
4966 | 4918 | |
4967 | -"eve@git://github.com/adobe-webplatform/eve.git#eef80ed": | |
4968 | - version "0.4.1" | |
4969 | - resolved "git://github.com/adobe-webplatform/eve.git#eef80ed8d188423c2272746fb8ae5cc8dad84cb1" | |
4970 | - | |
4971 | 4919 | event-emitter@~0.3.5: |
4972 | 4920 | version "0.3.5" |
4973 | 4921 | resolved "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz#df8c69eef1647923c7157b9ce83840610b02cc39" |
... | ... | @@ -5833,7 +5781,7 @@ hex-color-regex@^1.1.0: |
5833 | 5781 | resolved "https://registry.npmjs.org/hex-color-regex/-/hex-color-regex-1.1.0.tgz#4c06fccb4602fe2602b3c93df82d7e7dbf1a8a8e" |
5834 | 5782 | integrity sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ== |
5835 | 5783 | |
5836 | -highlight.js@^9.12.0, highlight.js@^9.6.0: | |
5784 | +highlight.js@^9.6.0: | |
5837 | 5785 | version "9.18.1" |
5838 | 5786 | resolved "https://registry.npmjs.org/highlight.js/-/highlight.js-9.18.1.tgz#ed21aa001fe6252bb10a3d76d47573c6539fe13c" |
5839 | 5787 | integrity sha512-OrVKYz70LHsnCgmbXctv/bfuvntIKDz177h0Co37DQ5jamGZLVmoCVMtjMtNZY3X9DrCcKfklHPNeA0uPZhSJg== |
... | ... | @@ -6654,11 +6602,6 @@ javascript-stringify@^1.6.0: |
6654 | 6602 | resolved "https://registry.npmjs.org/javascript-stringify/-/javascript-stringify-1.6.0.tgz#142d111f3a6e3dae8f4a9afd77d45855b5a9cce3" |
6655 | 6603 | integrity sha1-FC0RHzpuPa6PSpr9d9RYVbWpzOM= |
6656 | 6604 | |
6657 | -jquery@^3.3.1: | |
6658 | - version "3.4.1" | |
6659 | - resolved "https://registry.npmjs.org/jquery/-/jquery-3.4.1.tgz#714f1f8d9dde4bdfa55764ba37ef214630d80ef2" | |
6660 | - integrity sha512-36+AdBzCL+y6qjw5Tx7HgzeGCzC81MDDgaUP8ld2zhx58HdqXGoBd+tHdrBMiyjGQs0Hxs/MLZTu/eHNJJuWPw== | |
6661 | - | |
6662 | 6605 | js-base64@^2.1.9: |
6663 | 6606 | version "2.5.2" |
6664 | 6607 | resolved "https://registry.npmjs.org/js-base64/-/js-base64-2.5.2.tgz#313b6274dda718f714d00b3330bbae6e38e90209" |
... | ... | @@ -6924,13 +6867,6 @@ lines-and-columns@^1.1.6: |
6924 | 6867 | resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" |
6925 | 6868 | integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= |
6926 | 6869 | |
6927 | -linkify-it@^2.0.0: | |
6928 | - version "2.2.0" | |
6929 | - resolved "https://registry.npmjs.org/linkify-it/-/linkify-it-2.2.0.tgz#e3b54697e78bf915c70a38acd78fd09e0058b1cf" | |
6930 | - integrity sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw== | |
6931 | - dependencies: | |
6932 | - uc.micro "^1.0.1" | |
6933 | - | |
6934 | 6870 | load-json-file@^1.0.0: |
6935 | 6871 | version "1.1.0" |
6936 | 6872 | resolved "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" |
... | ... | @@ -7265,17 +7201,6 @@ map-visit@^1.0.0: |
7265 | 7201 | dependencies: |
7266 | 7202 | object-visit "^1.0.0" |
7267 | 7203 | |
7268 | -markdown-it@^9.0.0: | |
7269 | - version "9.1.0" | |
7270 | - resolved "https://registry.npmjs.org/markdown-it/-/markdown-it-9.1.0.tgz#df9601c168568704d554b1fff9af0c5b561168d9" | |
7271 | - integrity sha512-xHKG4C8iPriyfu/jc2hsCC045fKrMQ0VexX2F1FGYiRxDxqMB2aAhF8WauJ3fltn2kb90moGBkiiEdooGIg55w== | |
7272 | - dependencies: | |
7273 | - argparse "^1.0.7" | |
7274 | - entities "~1.1.1" | |
7275 | - linkify-it "^2.0.0" | |
7276 | - mdurl "^1.0.1" | |
7277 | - uc.micro "^1.0.5" | |
7278 | - | |
7279 | 7204 | math-expression-evaluator@^1.2.14: |
7280 | 7205 | version "1.2.22" |
7281 | 7206 | resolved "https://registry.npmjs.org/math-expression-evaluator/-/math-expression-evaluator-1.2.22.tgz#c14dcb3d8b4d150e5dcea9c68c8dad80309b0d5e" |
... | ... | @@ -7304,11 +7229,6 @@ mdn-data@2.0.4: |
7304 | 7229 | resolved "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.4.tgz#699b3c38ac6f1d728091a64650b65d388502fd5b" |
7305 | 7230 | integrity sha512-iV3XNKw06j5Q7mi6h+9vbx23Tv7JkjEVgKHW4pimwyDGWm0OIQntJJ+u1C6mg6mK1EaTv42XQ7w76yuzH7M2cA== |
7306 | 7231 | |
7307 | -mdurl@^1.0.1: | |
7308 | - version "1.0.1" | |
7309 | - resolved "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e" | |
7310 | - integrity sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4= | |
7311 | - | |
7312 | 7232 | media-typer@0.3.0: |
7313 | 7233 | version "0.3.0" |
7314 | 7234 | resolved "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" |
... | ... | @@ -8407,11 +8327,6 @@ pkg-up@^2.0.0: |
8407 | 8327 | dependencies: |
8408 | 8328 | find-up "^2.1.0" |
8409 | 8329 | |
8410 | -plantuml-encoder@^1.2.5: | |
8411 | - version "1.4.0" | |
8412 | - resolved "https://registry.npmjs.org/plantuml-encoder/-/plantuml-encoder-1.4.0.tgz#7899302cf785de956bf1a167e15420feee5975f7" | |
8413 | - integrity sha512-sxMwpDw/ySY1WB2CE3+IdMuEcWibJ72DDOsXLkSmEaSzwEUaYBT6DWgOfBiHGCux4q433X6+OEFWjlVqp7gL6g== | |
8414 | - | |
8415 | 8330 | pluralize@^7.0.0: |
8416 | 8331 | version "7.0.0" |
8417 | 8332 | resolved "https://registry.npmjs.org/pluralize/-/pluralize-7.0.0.tgz#298b89df8b93b0221dbf421ad2b1b1ea23fc6777" |
... | ... | @@ -9244,12 +9159,6 @@ range-parser@^1.0.3, range-parser@^1.2.1, range-parser@~1.2.1: |
9244 | 9159 | resolved "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" |
9245 | 9160 | integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== |
9246 | 9161 | |
9247 | -"raphael@https://github.com/nhn/raphael.git#2.2.0-c": | |
9248 | - version "2.2.0-c" | |
9249 | - resolved "https://github.com/nhn/raphael.git#78a6ed3ec269f33b6457b0ec66f8c3d1f2ed70e0" | |
9250 | - dependencies: | |
9251 | - eve "git://github.com/adobe-webplatform/eve.git#eef80ed" | |
9252 | - | |
9253 | 9162 | raw-body@2.4.0: |
9254 | 9163 | version "2.4.0" |
9255 | 9164 | resolved "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz#a1ce6fb9c9bc356ca52e89256ab59059e13d0332" |
... | ... | @@ -9597,7 +9506,7 @@ reselect@^3.0.1: |
9597 | 9506 | resolved "https://registry.npmjs.org/reselect/-/reselect-3.0.1.tgz#efdaa98ea7451324d092b2b2163a6a1d7a9a2147" |
9598 | 9507 | integrity sha1-79qpjqdFEyTQkrKyFjpqHXqaIUc= |
9599 | 9508 | |
9600 | -resize-observer-polyfill@^1.5.0, resize-observer-polyfill@^1.5.1: | |
9509 | +resize-observer-polyfill@^1.5.1: | |
9601 | 9510 | version "1.5.1" |
9602 | 9511 | resolved "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz#0e9020dd3d21024458d4ebd27e23e40269810464" |
9603 | 9512 | integrity sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg== |
... | ... | @@ -10228,10 +10137,6 @@ sprintf-js@~1.0.2: |
10228 | 10137 | resolved "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" |
10229 | 10138 | integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= |
10230 | 10139 | |
10231 | -"squire-rte@github:seonim-ryu/Squire#fd40b4e3020845825701e9689f190bab3f4775d4": | |
10232 | - version "1.9.0" | |
10233 | - resolved "https://codeload.github.com/seonim-ryu/Squire/tar.gz/fd40b4e3020845825701e9689f190bab3f4775d4" | |
10234 | - | |
10235 | 10140 | sshpk@^1.7.0: |
10236 | 10141 | version "1.16.1" |
10237 | 10142 | resolved "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz#fb661c0bef29b39db40769ee39fa70093d6f6877" |
... | ... | @@ -10767,11 +10672,6 @@ to-fast-properties@^2.0.0: |
10767 | 10672 | resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" |
10768 | 10673 | integrity sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4= |
10769 | 10674 | |
10770 | -to-mark@^1.1.9: | |
10771 | - version "1.1.9" | |
10772 | - resolved "https://registry.npmjs.org/to-mark/-/to-mark-1.1.9.tgz#2cfbc8e765c430ddcb46a218be079b4ca2773d5b" | |
10773 | - integrity sha512-qHVnIhvwJbIIqOjuJgH2JlOmV/wPSSAY0QOQ47xQb9VPCzhV0Nd23+bBD4K/mzDGJA5lckZMfkgLScYvqKnPpg== | |
10774 | - | |
10775 | 10675 | to-object-path@^0.3.0: |
10776 | 10676 | version "0.3.0" |
10777 | 10677 | resolved "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af" |
... | ... | @@ -10847,52 +10747,6 @@ tty-browserify@0.0.0: |
10847 | 10747 | resolved "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" |
10848 | 10748 | integrity sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY= |
10849 | 10749 | |
10850 | -tui-chart@^3.7.0: | |
10851 | - version "3.10.1" | |
10852 | - resolved "https://registry.npmjs.org/tui-chart/-/tui-chart-3.10.1.tgz#8f0abfacf8662ed4d1b1d358441e8b702ee77480" | |
10853 | - integrity sha512-dorZbIXDBWEhXRgK5NOwPEa2Kf+nFGVsQdHTe0fHgSsh3DfuOMiArKTD+KK6Hkz6/zMd+bB+nhdsx2KIzxBsqw== | |
10854 | - dependencies: | |
10855 | - core-js "^3.6.4" | |
10856 | - raphael "https://github.com/nhn/raphael.git#2.2.0-c" | |
10857 | - tui-code-snippet "^2.3.1" | |
10858 | - | |
10859 | -tui-code-snippet@^1.5.0: | |
10860 | - version "1.5.2" | |
10861 | - resolved "https://registry.npmjs.org/tui-code-snippet/-/tui-code-snippet-1.5.2.tgz#f4b8f0f1ac996b0b5b621f77c9507af19a0de238" | |
10862 | - integrity sha512-6UqTlQaaC1KLcmC0HAoq5dtl1G4Fib+R+NC7pmaV7kiIlZ7JqKhUmnOoGRcreAyzd81UTK/vCvhrw9QJskpCFQ== | |
10863 | - | |
10864 | -tui-code-snippet@^2.2.0, tui-code-snippet@^2.3.1: | |
10865 | - version "2.3.1" | |
10866 | - resolved "https://registry.npmjs.org/tui-code-snippet/-/tui-code-snippet-2.3.1.tgz#d11d9838c90a2e14decb10deba595758731c66de" | |
10867 | - integrity sha512-HopmhYTLLHAF0aUnGN+ICQzX0j6T2dXhLeW+oupH58MktsWes19vW5BbUgFjONsq2gDT8+B1lOKdRliRAqnKXg== | |
10868 | - | |
10869 | -tui-color-picker@^2.2.1: | |
10870 | - version "2.2.6" | |
10871 | - resolved "https://registry.npmjs.org/tui-color-picker/-/tui-color-picker-2.2.6.tgz#bab54e47380e550bb3ac8ae974021b3cc2518aa9" | |
10872 | - integrity sha512-+GBTUFGOkDaFiyYt/4IJTKA68Oj7fC9lU+RHs56luyFHYSO3gWuvsZntxAvFFeCGiZFFhu9XQQaZ0rVS5TUOmA== | |
10873 | - dependencies: | |
10874 | - tui-code-snippet "^2.2.0" | |
10875 | - | |
10876 | -tui-editor@^1.4.10: | |
10877 | - version "1.4.10" | |
10878 | - resolved "https://registry.npmjs.org/tui-editor/-/tui-editor-1.4.10.tgz#c69ac15842f819274857f184300d24f0a5ed6717" | |
10879 | - integrity sha512-fET8etzvxTm0cFa7C8cbDFkPZ8R9s/oWVRr4i7Z1QKk4YkmY/hDjrdtWPXuIOy4/IzCWQHnv4TmnyVZmAbuG5Q== | |
10880 | - dependencies: | |
10881 | - "@types/codemirror" "0.0.71" | |
10882 | - "@types/jquery" "^3.3.29" | |
10883 | - "@types/markdown-it" "0.0.7" | |
10884 | - codemirror "^5.48.4" | |
10885 | - highlight.js "^9.12.0" | |
10886 | - jquery "^3.3.1" | |
10887 | - markdown-it "^9.0.0" | |
10888 | - plantuml-encoder "^1.2.5" | |
10889 | - resize-observer-polyfill "^1.5.0" | |
10890 | - squire-rte "github:seonim-ryu/Squire#fd40b4e3020845825701e9689f190bab3f4775d4" | |
10891 | - to-mark "^1.1.9" | |
10892 | - tui-chart "^3.7.0" | |
10893 | - tui-code-snippet "^1.5.0" | |
10894 | - tui-color-picker "^2.2.1" | |
10895 | - | |
10896 | 10750 | tunnel-agent@^0.6.0: |
10897 | 10751 | version "0.6.0" |
10898 | 10752 | resolved "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" |
... | ... | @@ -10940,11 +10794,6 @@ typedarray@^0.0.6: |
10940 | 10794 | resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" |
10941 | 10795 | integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= |
10942 | 10796 | |
10943 | -uc.micro@^1.0.1, uc.micro@^1.0.5: | |
10944 | - version "1.0.6" | |
10945 | - resolved "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz#9c411a802a409a91fc6cf74081baba34b24499ac" | |
10946 | - integrity sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA== | |
10947 | - | |
10948 | 10797 | uglify-js@3.4.x: |
10949 | 10798 | version "3.4.10" |
10950 | 10799 | resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.10.tgz#9ad9563d8eb3acdfb8d38597d2af1d815f6a755f" |
... | ... |
jeecg-boot/jeecg-boot-module-system/src/main/resources/jeecg/code-template-online/default/one/java/${bussiPackage}/${entityPackage}/vue/modules/${entityName}Modal.vuei
... | ... | @@ -57,9 +57,6 @@ |
57 | 57 | <#elseif po.classType =='pca'> |
58 | 58 | <#assign form_pca=true> |
59 | 59 | <j-area-linkage type="cascader" v-decorator="['${po.fieldName}'${autoWriteRules(po)}]" placeholder="请输入省市区"/> |
60 | - <#elseif po.classType =='markdown'> | |
61 | - <#assign form_md=true> | |
62 | - <j-markdown-editor v-decorator="['${po.fieldName}']" id="${po.fieldName}"></j-markdown-editor> | |
63 | 60 | <#elseif po.classType =='password'> |
64 | 61 | <a-input-password v-decorator="['${po.fieldName}'${autoWriteRules(po)}]" placeholder="请输入${po.filedComment}"/> |
65 | 62 | <#elseif po.classType =='sel_user'> |
... | ... | @@ -150,10 +147,6 @@ |
150 | 147 | <#if form_pca> |
151 | 148 | import JAreaLinkage from '@comp/jeecg/JAreaLinkage' |
152 | 149 | </#if> |
153 | - <#if form_pca> | |
154 | - import JMarkdownEditor from '@/components/jeecg/JMarkdownEditor/index' | |
155 | - </#if> | |
156 | - | |
157 | 150 | |
158 | 151 | |
159 | 152 | export default { |
... | ... | @@ -192,9 +185,6 @@ |
192 | 185 | <#if form_cat_tree> |
193 | 186 | JCategorySelect, |
194 | 187 | </#if> |
195 | - <#if form_pca> | |
196 | - JMarkdownEditor, | |
197 | - </#if> | |
198 | 188 | }, |
199 | 189 | data () { |
200 | 190 | return { |
... | ... |