1.修改上传组件文件查询数量:21
parent
6043d79731
commit
9f00759e09
|
|
@ -64,6 +64,7 @@ watch(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
console.log(1);
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
init();
|
init();
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,9 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div class="url-value-content pa-20 flex-row">
|
<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 :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>
|
<span>{{ item.name }}</span>
|
||||||
</el-menu-item>
|
</el-menu-item>
|
||||||
</el-menu>
|
</el-menu>
|
||||||
|
|
@ -91,6 +91,16 @@ const link_value = ref<any[]>([]);
|
||||||
const reset_compontent = ref(false);
|
const reset_compontent = ref(false);
|
||||||
const custom_link_type = ref(props.type);
|
const custom_link_type = ref(props.type);
|
||||||
const base_data = ref<any[]>([]);
|
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(() => {
|
onMounted(() => {
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
// 定时获取common_store.common.article_category的数据,直到拿到值或者关闭页面为止
|
// 定时获取common_store.common.article_category的数据,直到拿到值或者关闭页面为止
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="auxiliary-line">
|
<div class="auxiliary-line">
|
||||||
|
{{ form.data_source }}
|
||||||
<el-form :model="form" label-width="70">
|
<el-form :model="form" label-width="70">
|
||||||
<card-container>
|
<card-container>
|
||||||
<div class="mb-20">数据源</div>
|
<div class="mb-20">数据源</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue