KV存储改为默认开启
保存 保存
This commit is contained in:
@@ -197,7 +197,12 @@
|
||||
<div class="card-title">{{ $t('oss') }}</div>
|
||||
<div class="card-content">
|
||||
<div class="r2domain-item">
|
||||
<div><span>{{ $t('osDomain') }}</span></div>
|
||||
<div>
|
||||
<span>{{ $t('osDomain') }}</span>
|
||||
<el-tooltip effect="dark" :content="$t('ossDomainDesc')">
|
||||
<Icon class="warning" icon="fe:warning" width="18" height="18"/>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
<div class="r2domain">
|
||||
<span>{{ setting.r2Domain || '' }}</span>
|
||||
<el-button class="opt-button" size="small" type="primary" @click="r2DomainShow = true">
|
||||
@@ -208,9 +213,6 @@
|
||||
<div class="setting-item">
|
||||
<div>
|
||||
<span>{{ $t('s3Configuration') }}</span>
|
||||
<el-tooltip effect="dark" :content="$t('s3Desc')">
|
||||
<Icon class="warning" icon="fe:warning" width="18" height="18"/>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
<div class="r2domain">
|
||||
<el-button class="opt-button" size="small" type="primary" @click="addS3Show = true">
|
||||
@@ -220,14 +222,12 @@
|
||||
</div>
|
||||
<div class="setting-item">
|
||||
<div>
|
||||
<span>{{ $t('kvStorage') }}</span>
|
||||
<el-tooltip effect="dark" :content="$t('kvStorageDesc')">
|
||||
<Icon class="warning" icon="fe:warning" width="18" height="18"/>
|
||||
</el-tooltip>
|
||||
<span>{{ $t('storageType') }}</span>
|
||||
</div>
|
||||
<div class="r2domain">
|
||||
<el-switch @change="change" :before-change="beforeChange" :active-value="0" :inactive-value="1"
|
||||
v-model="setting.kvStorage"/>
|
||||
<div class="storage-type">
|
||||
<el-tag>{{ setting.storageType }}</el-tag>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1703,6 +1703,10 @@ function editSetting(settingForm, refreshStatus = true) {
|
||||
grid-template-columns: 1fr auto;
|
||||
align-items: center;
|
||||
|
||||
.storage-type {
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
span {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
|
||||
Reference in New Issue
Block a user