头部搜索对接开源软件列表
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<div v-if="showColumnList" ref="columnListRef" class="column-list">
|
||||
<div class="column-list-header">
|
||||
<span class="title1">展示列设置</span>
|
||||
<a class="title2">恢复默认</a>
|
||||
<a @click="emits('setDefult')" class="title2">恢复默认</a>
|
||||
</div>
|
||||
<div class="column-list-body">
|
||||
<d-checkbox
|
||||
@@ -35,7 +35,7 @@ const props = defineProps({
|
||||
});
|
||||
|
||||
// 定义 emit,用于更新 showColumnList
|
||||
const emits = defineEmits(['update:show-column-list']);
|
||||
const emits = defineEmits(['update:show-column-list','setDefult']);
|
||||
|
||||
// 切换多选列表的显示
|
||||
const toggleColumnList = () => {
|
||||
@@ -101,6 +101,7 @@ onUnmounted(() => {
|
||||
text-align: left;
|
||||
}
|
||||
.title2 {
|
||||
cursor: pointer;
|
||||
color: #5E7CE0;
|
||||
font-family: 苹方-简;
|
||||
font-weight: regular;
|
||||
|
||||
Reference in New Issue
Block a user