mirror of
https://github.com/sahadev/vue-component-creater-ui.git
synced 2025-06-07 21:54:05 +08:00
update: JS逻辑注入正常
This commit is contained in:
parent
870b865df0
commit
1cbe8fff43
@ -50,12 +50,7 @@ import 'codemirror/addon/fold/indent-fold.js'
|
||||
import 'codemirror/addon/fold/markdown-fold.js'
|
||||
import 'codemirror/addon/fold/xml-fold.js'
|
||||
|
||||
// require(['axios'], axios => {
|
||||
// self.axios = axios.create({
|
||||
// baseURL: '',
|
||||
// timeout: 1000,
|
||||
// });
|
||||
// });
|
||||
import axios from 'axios';
|
||||
|
||||
export default {
|
||||
props: ['initCode', 'mode'],
|
||||
@ -64,6 +59,14 @@ export default {
|
||||
components: {
|
||||
Codemirror
|
||||
},
|
||||
|
||||
created() {
|
||||
self.axios = axios.create({
|
||||
baseURL: '',
|
||||
timeout: 1000,
|
||||
});
|
||||
},
|
||||
|
||||
computed: {
|
||||
code: {
|
||||
get() {
|
||||
|
1
src/components/halower-tree.min.css
vendored
1
src/components/halower-tree.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user