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