forked from AkkomaGang/admin-fe
refactor: set markdown autoDownloadFontAwesome to false
This commit is contained in:
parent
feb6785654
commit
2c82d0a28e
2 changed files with 5 additions and 2 deletions
|
@ -20,8 +20,10 @@
|
|||
"echarts": "3.7.2",
|
||||
"element-ui": "1.4.2",
|
||||
"file-saver": "1.3.3",
|
||||
"font-awesome": "^4.7.0",
|
||||
"js-cookie": "2.1.4",
|
||||
"jsonlint": "1.6.2",
|
||||
"jszip": "^3.1.4",
|
||||
"mockjs": "1.0.1-beta3",
|
||||
"normalize.css": "7.0.0",
|
||||
"nprogress": "0.2.0",
|
||||
|
@ -36,8 +38,7 @@
|
|||
"vue-splitpane": "^1.0.0",
|
||||
"vuedraggable": "2.14.1",
|
||||
"vuex": "2.3.1",
|
||||
"xlsx": "^0.10.8",
|
||||
"jszip": "^3.1.4"
|
||||
"xlsx": "^0.10.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer": "7.1.1",
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import 'font-awesome/css/font-awesome.min.css'
|
||||
import 'simplemde/dist/simplemde.min.css'
|
||||
import SimpleMDE from 'simplemde'
|
||||
|
||||
|
@ -52,6 +53,7 @@ export default {
|
|||
mounted() {
|
||||
this.simplemde = new SimpleMDE({
|
||||
element: document.getElementById(this.id),
|
||||
autoDownloadFontAwesome: false,
|
||||
autofocus: this.autofocus,
|
||||
toolbar: this.toolbar,
|
||||
spellChecker: false,
|
||||
|
|
Loading…
Reference in a new issue