1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-31 14:08:06 +08:00

style: 修改文件编辑器配置样式 (#4535)

This commit is contained in:
zhengkunwang 2024-04-16 18:59:30 +08:00 committed by GitHub
parent 9e44db53a7
commit f1421ba7f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,17 +15,17 @@
</el-select>
</el-form-item>
<el-form-item :label="$t('file.language')">
<el-select v-model="config.language" @change="changeLanguage()" class="p-w-200">
<el-select v-model="config.language" @change="changeLanguage()" class="!w-32">
<el-option v-for="lang in Languages" :key="lang.label" :value="lang.label" :label="lang.label" />
</el-select>
</el-form-item>
<el-form-item :label="$t('file.eol')">
<el-select v-model="config.eol" @change="changeEOL()" class="p-w-200">
<el-select v-model="config.eol" @change="changeEOL()" class="p-w-150">
<el-option v-for="eol in eols" :key="eol.label" :value="eol.value" :label="eol.label" />
</el-select>
</el-form-item>
<el-form-item :label="$t('file.wordWrap')">
<el-select v-model="config.wordWrap" @change="changeWarp()" class="p-w-200">
<el-select v-model="config.wordWrap" @change="changeWarp()" class="p-w-100">
<el-option :label="$t('commons.button.enable')" value="on"></el-option>
<el-option :label="$t('commons.button.disable')" value="off"></el-option>
</el-select>