This commit is contained in:
jianzhichu
2025-11-25 14:17:25 +08:00
parent 00aa82e763
commit 898e4c115b
10 changed files with 56 additions and 29 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

+17 -2
View File
@@ -13,7 +13,7 @@
<a-radio-button value="1">喜欢的</a-radio-button>
<a-radio-button value="2">收藏的</a-radio-button>
<a-radio-button value="3">关注的</a-radio-button>
<a-radio-button value="4">图文视频</a-radio-button>
<a-radio-button value="4" v-if="showImageViedo">图文视频</a-radio-button>
</a-radio-group>
</a-form-item>
<a-form-item :wrapper-col="{ offset: 8, span: 16 }">
@@ -85,7 +85,7 @@ const columns = ref([
const loading = ref(false);
interface DataItem {}
const datas: UnwrapRef<DataItem[]> = reactive([]);
const showImageViedo = ref(false);
interface QuaryParam {
dates?: string[];
pageIndex: number;
@@ -135,6 +135,21 @@ const pagination = ref({
showTotal: () => `${0}`,
});
const getConfig = () => {
useApiStore()
.apiGetConfig()
.then((res) => {
if (res.code === 0) {
// 监听环境变量配置,控制是否显示图片视频下载选项
showImageViedo.value = res.data.downImageVideoFromEnv;
} else {
}
})
.catch((error) => {
console.error('获取配置失败:', error);
});
};
const handleTableChange = (e) => {
console.log(e);
pagination.value.current = e.current;