mirror of
https://github.com/sahadev/vue-component-creater-ui.git
synced 2025-06-07 21:54:05 +08:00
update: package-lock.json
This commit is contained in:
parent
188c9dcd3b
commit
23bb007b5b
7596
package-lock.json
generated
7596
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -58,7 +58,7 @@ require(['axios'], axios => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: ['initCode'],
|
props: ['initCode', 'mode'],
|
||||||
name: 'code-editor',
|
name: 'code-editor',
|
||||||
title: 'Mode: text/x-vue & Theme: monokai',
|
title: 'Mode: text/x-vue & Theme: monokai',
|
||||||
components: {
|
components: {
|
||||||
@ -84,7 +84,7 @@ export default {
|
|||||||
lineNumbers: true,
|
lineNumbers: true,
|
||||||
line: true,
|
line: true,
|
||||||
keyMap: "sublime",
|
keyMap: "sublime",
|
||||||
mode: 'text/javascript',
|
mode: this.mode,
|
||||||
theme: 'monokai',
|
theme: 'monokai',
|
||||||
extraKeys: {
|
extraKeys: {
|
||||||
'F11'(cm) {
|
'F11'(cm) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-dialog title="JS逻辑编辑" :visible.sync="codeDialogVisible" width="70%" top="10vh" :before-close="handleClose"
|
<el-dialog title="JS逻辑编辑" :visible.sync="codeDialogVisible" width="70%" top="10vh" :before-close="handleClose"
|
||||||
:center=true>
|
:center=true>
|
||||||
<CodeEditor style="max-height: 65vh;" ref="codeEditor" :initCode="code"></CodeEditor>
|
<CodeEditor style="max-height: 65vh;" ref="codeEditor" :initCode="code" mode="text/javascript"></CodeEditor>
|
||||||
|
|
||||||
<div style="text-align:center;padding: 10px;">
|
<div style="text-align:center;padding: 10px;">
|
||||||
<el-button type="primary" @click="onSave">确认修改</el-button>
|
<el-button type="primary" @click="onSave">确认修改</el-button>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-dialog title="Vue二次编辑" :visible.sync="vueDialogVisible" width="70%" top="10vh" :before-close="handleClose"
|
<el-dialog title="Vue二次编辑" :visible.sync="vueDialogVisible" width="70%" top="10vh" :before-close="handleClose"
|
||||||
:center=true>
|
:center=true>
|
||||||
<CodeEditor style="max-height: 65vh;" ref="codeEditor" :initCode="code"></CodeEditor>
|
<CodeEditor style="max-height: 65vh;" ref="codeEditor" :initCode="code" mode="text/html"></CodeEditor>
|
||||||
|
|
||||||
<div style="text-align:center;padding: 10px;">
|
<div style="text-align:center;padding: 10px;">
|
||||||
<el-button type="primary" @click="compile">开始解析</el-button>
|
<el-button type="primary" @click="compile">开始解析</el-button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user