Skip to content

Commit

Permalink
feat: #319 PicGO图形化配置界面-配置界面样式修复
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Feb 8, 2023
1 parent e4233c4 commit f05e829
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion components/picgo/setting/ConfigForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</div>

<div class="config-form">
<el-form ref="$configForm" label-width="120px" :model="configRuleForm">
<el-form ref="$configForm" label-width="125px" :model="configRuleForm">
<el-form-item
:label="$t('setting.picgo.picbed.uploader.config.name')"
required
Expand Down
2 changes: 2 additions & 0 deletions components/picgo/setting/PicbedSetting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ const getProfileList = (bedType: string): IUploaderConfigItem => {
}
const handlePicBedTypeChange = (item: IPicBedType) => {
emitBackFn()
type.value = item.type
reloadConfig(item.type)
logger.debug("item=>", item)
Expand Down
8 changes: 3 additions & 5 deletions components/picgo/setting/PicgoConfigSetting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@
<el-button>{{ $t("setting.picgo.picgo.click.to.open") }}</el-button>
</el-form-item>

<el-form-item
:style="{ marginRight: '-64px' }"
:label="$t('setting.picgo.picgo.choose.showed.picbed')"
>
<el-form-item :label="$t('setting.picgo.picgo.choose.showed.picbed')">
<el-checkbox-group
v-model="form.showPicBedList"
@change="handleShowPicBedListChange"
Expand All @@ -50,7 +47,7 @@
</template>

<script lang="ts" setup>
import { onBeforeMount, reactive, ref, watch } from "vue"
import { onBeforeMount, reactive, ref } from "vue"
import picgoUtil from "~/utils/otherlib/picgoUtil"
import { LogFactory } from "~/utils/logUtil"
Expand Down Expand Up @@ -89,6 +86,7 @@ function handleShowPicBedListChange(val: ICheckBoxValueType[]) {
picgoUtil.savePicgoConfig({
"picBed.list": list,
})
logger.debug("保存启用的图床", list)
}
onBeforeMount(() => {
Expand Down

0 comments on commit f05e829

Please sign in to comment.