-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1888 from DevCloudFE/dev
chore: update main
- Loading branch information
Showing
13 changed files
with
617 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
/* @jsxImportSource vue */ | ||
import { defineComponent } from 'vue'; | ||
import type { SetupContext } from 'vue'; | ||
import { codeEditorProps, CodeEditorProps } from './code-editor-types'; | ||
import { useCodeEditor } from './composables/use-code-editor'; | ||
import './code-editor.scss'; | ||
|
||
export default defineComponent({ | ||
name: 'DCodeEditor', | ||
props: codeEditorProps, | ||
emits: ['update:modelValue', 'afterEditorInit', 'click'], | ||
setup(props: CodeEditorProps, ctx: SetupContext) { | ||
const { editorEl } = useCodeEditor(props, ctx); | ||
|
||
return () => <div ref={editorEl} class="devui-code-editor"></div>; | ||
} | ||
name: 'DCodeEditor', | ||
props: codeEditorProps, | ||
emits: ['update:modelValue', 'afterEditorInit', 'click'], | ||
setup(props: CodeEditorProps, ctx: SetupContext) { | ||
const { editorEl } = useCodeEditor(props, ctx); | ||
return () => <div ref={editorEl} class="devui-code-editor"></div>; | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/devui-vue/devui/code-review/src/components/code-review-header.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/devui-vue/devui/code-review/src/components/code-review-icons.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.