1.修改上传组件文件查询数量:21

v1.0.0
sws 2024-09-05 15:37:32 +08:00
parent 6043d79731
commit 9f00759e09
3 changed files with 14 additions and 2 deletions

View File

@ -64,6 +64,7 @@ watch(
}
}
);
console.log(1);
onMounted(() => {
init();
});

View File

@ -6,9 +6,9 @@
</div>
</template>
<div class="url-value-content pa-20 flex-row">
<div v-if="type.length !== 1" class="left-content">
<div v-if="custom_link_type.length !== 1" class="left-content">
<el-menu :default-active="link_select" class="w br-none" @select="handle_select">
<el-menu-item v-for="item in base_data" :key="item.type" :index="item.type" :disabled="!(custom_link_type.length == 0 || custom_link_type.includes(item.type))">
<el-menu-item v-for="item in base_data" :key="item.type" :index="item.type" :disabled="!custom_link_type.includes(item.type)">
<span>{{ item.name }}</span>
</el-menu-item>
</el-menu>
@ -91,6 +91,16 @@ const link_value = ref<any[]>([]);
const reset_compontent = ref(false);
const custom_link_type = ref(props.type);
const base_data = ref<any[]>([]);
watch(
() => props.type,
(new_val) => {
if (new_val.length > 0) {
link_select.value = props.type[0];
} else {
link_select.value = '';
}
}
);
onMounted(() => {
nextTick(() => {
// common_store.common.article_category

View File

@ -1,5 +1,6 @@
<template>
<div class="auxiliary-line">
{{ form.data_source }}
<el-form :model="form" label-width="70">
<card-container>
<div class="mb-20">数据源</div>