sh-view 2.4.4 → 2.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sh-view",
3
- "version": "2.4.4",
3
+ "version": "2.4.5",
4
4
  "description": "基于vxe-table二次封装",
5
5
  "main": "packages/index.js",
6
6
  "scripts": {
@@ -145,7 +145,7 @@ export default defineComponent({
145
145
 
146
146
  const codeRender = async () => {
147
147
  let docValue = getTransformValue(props.modelValue)
148
- let codeState = new EditorState.create({
148
+ let codeState = EditorState.create({
149
149
  doc: docValue,
150
150
  extensions: codeExtensions.value
151
151
  })