1
0
mirror of https://github.com/sahadev/vue-component-creater-ui.git synced 2025-06-06 13:04:05 +08:00

update: package-lock.json

This commit is contained in:
shangbin 2021-11-22 11:02:46 +08:00
parent 188c9dcd3b
commit 23bb007b5b
5 changed files with 3770 additions and 13748 deletions

7632
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -58,7 +58,7 @@ require(['axios'], axios => {
});
export default {
props: ['initCode'],
props: ['initCode', 'mode'],
name: 'code-editor',
title: 'Mode: text/x-vue & Theme: monokai',
components: {
@ -84,7 +84,7 @@ export default {
lineNumbers: true,
line: true,
keyMap: "sublime",
mode: 'text/javascript',
mode: this.mode,
theme: 'monokai',
extraKeys: {
'F11'(cm) {

View File

@ -1,7 +1,7 @@
<template>
<el-dialog title="JS逻辑编辑" :visible.sync="codeDialogVisible" width="70%" top="10vh" :before-close="handleClose"
: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;">
<el-button type="primary" @click="onSave">确认修改</el-button>

View File

@ -1,7 +1,7 @@
<template>
<el-dialog title="Vue二次编辑" :visible.sync="vueDialogVisible" width="70%" top="10vh" :before-close="handleClose"
: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;">
<el-button type="primary" @click="compile">开始解析</el-button>

9878
yarn.lock

File diff suppressed because it is too large Load Diff