bugfix: `vue-json-editor` 替换为 `vue-json-editor-fix-cn`,解决拦截设置页面的中文输入问题。 (#276)

pull/277/head
WangLiang/王良 2024-03-26 10:22:40 +08:00 committed by GitHub
parent 98648fe59f
commit 09857d4153
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

View File

@ -43,6 +43,7 @@
"sass-loader": "^10.0.4",
"vue": "^2.6.11",
"vue-json-editor": "^1.4.2",
"vue-json-editor-fix-cn": "^1.4.3",
"vue-router": "^3.4.8"
},
"devDependencies": {

View File

@ -17,7 +17,7 @@
:style="{ height: '100%' }"
>
<a-tab-pane tab="拦截设置" key="1" >
<vue-json-editor style="height:100%;" ref="editor" v-model="targetConfig.intercepts" mode="code" :show-btns="false" :expandedOnStart="true" @json-change="onJsonChange" ></vue-json-editor>
<vue-json-editor style="height:100%;" ref="editor" v-model="targetConfig.intercepts" mode="code" :show-btns="false" :expandedOnStart="true" @json-change="onJsonChange" ></vue-json-editor>
</a-tab-pane>
<a-tab-pane tab="DNS设置" key="2">
<div>
@ -98,7 +98,7 @@
</template>
<script>
import vueJsonEditor from 'vue-json-editor'
import vueJsonEditor from 'vue-json-editor-fix-cn'
import lodash from 'lodash'
import api from '../api'
export default {

View File

@ -217,7 +217,7 @@
</template>
<script>
import vueJsonEditor from 'vue-json-editor'
import vueJsonEditor from 'vue-json-editor-fix-cn'
import Plugin from '../mixins/plugin'
import _ from 'lodash'