mirror of
https://github.com/doocs/md.git
synced 2024-11-25 03:18:36 +08:00
fix: file path fix
This commit is contained in:
parent
ee71cb4abb
commit
f99a9c3192
@ -75,14 +75,14 @@ import {
|
|||||||
setFontSize,
|
setFontSize,
|
||||||
isImageIllegal,
|
isImageIllegal,
|
||||||
fixCodeWhiteSpace
|
fixCodeWhiteSpace
|
||||||
} from '../../scripts/util'
|
} from '../../assets/scripts/util'
|
||||||
import fileApi from '../../api/file';
|
import fileApi from '../../api/file';
|
||||||
import {
|
import {
|
||||||
solveWeChatImage,
|
solveWeChatImage,
|
||||||
solveHtml
|
solveHtml
|
||||||
} from '../../scripts/converter'
|
} from '../../assets/scripts/converter'
|
||||||
import config from '../../scripts/config'
|
import config from '../../assets/scripts/config'
|
||||||
import DEFAULT_CSS_CONTENT from '../../scripts/themes/default-theme-css'
|
import DEFAULT_CSS_CONTENT from '../../assets/scripts/themes/default-theme-css'
|
||||||
import resetDialog from '../codeMirror/resetDialog'
|
import resetDialog from '../codeMirror/resetDialog'
|
||||||
import {mapState, mapMutations} from 'vuex'
|
import {mapState, mapMutations} from 'vuex'
|
||||||
export default {
|
export default {
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import config from '../../scripts/config'
|
import config from '../../assets/scripts/config'
|
||||||
import {mapState, mapMutations} from 'vuex';
|
import {mapState, mapMutations} from 'vuex';
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
|
@ -15,8 +15,8 @@ import 'codemirror/addon/hint/show-hint.js'
|
|||||||
import 'codemirror/addon/hint/css-hint.js'
|
import 'codemirror/addon/hint/css-hint.js'
|
||||||
import './assets/less/theme.less';
|
import './assets/less/theme.less';
|
||||||
// 对codemirror预处理
|
// 对codemirror预处理
|
||||||
import './scripts/format'
|
import './assets/scripts/format'
|
||||||
import './scripts/closebrackets'
|
import './assets/scripts/closebrackets'
|
||||||
Vue.use(ElementUI)
|
Vue.use(ElementUI)
|
||||||
|
|
||||||
Vue.config.productionTip = false
|
Vue.config.productionTip = false
|
||||||
|
@ -57,11 +57,10 @@ import {
|
|||||||
customCssWithTemplate,
|
customCssWithTemplate,
|
||||||
saveEditorContent,
|
saveEditorContent,
|
||||||
isImageIllegal
|
isImageIllegal
|
||||||
} from '../scripts/util'
|
} from '../assets/scripts/util'
|
||||||
|
|
||||||
require('codemirror/mode/javascript/javascript')
|
require('codemirror/mode/javascript/javascript')
|
||||||
// import $ from 'jquery'
|
import config from '../assets/scripts/config'
|
||||||
import config from '../scripts/config'
|
|
||||||
import {mapState, mapMutations} from 'vuex';
|
import {mapState, mapMutations} from 'vuex';
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
|
Loading…
Reference in New Issue
Block a user