bin-code-editor=>bin-ace-editor
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
<code-editor v-model="form.config" auto-format :lint="false"/>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
<el-row type="flex" justify="center" class="footer">
|
||||
<el-button @click="drawer=false">取消</el-button>
|
||||
<el-button type="primary" @click="submit">提交</el-button>
|
||||
@@ -47,8 +46,11 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {CodeEditor} from 'bin-code-editor'
|
||||
import 'bin-code-editor/lib/styles/index.css'
|
||||
import {CodeEditor} from 'bin-ace-editor'
|
||||
import 'brace/mode/json'
|
||||
import 'brace/snippets/json';
|
||||
import 'brace/theme/github';
|
||||
import 'brace/theme/monokai';
|
||||
|
||||
const label = "应用定制配置";
|
||||
export default {
|
||||
|
||||
Reference in New Issue
Block a user