feat: 日常优化

This commit is contained in:
meilin.huang
2022-02-14 14:58:25 +08:00
parent 2698157ce7
commit 5def4bc26d
14 changed files with 234 additions and 139 deletions

View File

@@ -46,7 +46,7 @@ import { ElOption, ElSelect } from 'element-plus';
const CodeMirror = (window as any).CodeMirror || _CodeMirror;
export default defineComponent({
name: 'codemirror',
name: 'CodeMirror',
components: {
ElOption,
ElSelect,
@@ -173,7 +173,7 @@ export default defineComponent({
watch(
() => props.modelValue,
(newValue, oldValue) => {
(newValue) => {
handerCodeChange(newValue);
}
);