diff --git a/.gitignore b/.gitignore index c62abfd..467997e 100644 --- a/.gitignore +++ b/.gitignore @@ -30,4 +30,5 @@ coverage *.tsbuildinfo note.md *.bak -*.xlsx \ No newline at end of file +*.xlsx +pnpm-lock.yaml \ No newline at end of file diff --git a/package.json b/package.json index fcb23d2..d777d42 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ }, "pnpm": { "overrides": { - "quill": "2.0.2" + "quill": "^2.0.2" } } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 41ca082..1d72295 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,7 +5,7 @@ settings: excludeLinksFromLockfile: false overrides: - quill: 2.0.2 + quill: ^2.0.2 importers: @@ -1392,8 +1392,8 @@ packages: resolution: {integrity: sha512-X74oCeRI4/p0ucjb5Ma8adTXd9Scumz367kkMK5V/IatcX6A0vlgLgKbzXWy5nZmCGeNJm2oQX0d2Eqj+ZIlCA==} engines: {node: '>= 12.0.0'} - quill@2.0.2: - resolution: {integrity: sha512-QfazNrhMakEdRG57IoYFwffUIr04LWJxbS/ZkidRFXYCQt63c1gK6Z7IHUXMx/Vh25WgPBU42oBaNzQ0K1R/xw==} + quill@2.0.3: + resolution: {integrity: sha512-xEYQBqfYx/sfb33VJiKnSJp8ehloavImQ2A6564GAbqG55PGw1dAWUn1MUbQB62t0azawUS2CZZhWCjO8gRvTw==} engines: {npm: '>=8.2.3'} readdirp@4.0.2: @@ -2057,7 +2057,7 @@ snapshots: '@vueup/vue-quill@1.2.0(vue@3.5.13)': dependencies: - quill: 2.0.2 + quill: 2.0.3 quill-delta: 4.2.2 vue: 3.5.13 @@ -2889,7 +2889,7 @@ snapshots: lodash.clonedeep: 4.5.0 lodash.isequal: 4.5.0 - quill@2.0.2: + quill@2.0.3: dependencies: eventemitter3: 5.0.1 lodash-es: 4.17.21 diff --git a/src/views/message/components/InputEditor.vue b/src/views/message/components/InputEditor.vue index 2013d91..92d346a 100644 --- a/src/views/message/components/InputEditor.vue +++ b/src/views/message/components/InputEditor.vue @@ -60,7 +60,7 @@ const options = { keyboard: { bindings: { enter: { - key: 13, + key: 'Enter', handler: handleEnter } }