This commit is contained in:
sdaduanbilei-d1581 2025-12-30 14:11:10 +08:00
parent 079b7255be
commit ade5f0adb5
3 changed files with 2 additions and 3 deletions

View File

@ -20,7 +20,7 @@ export default {
}, },
linkClass(params) { linkClass(params) {
return fetch('/library/relateLibrary', params, 'post', 'json') return fetch('/library/alterClass', params, 'post', 'json')
}, },
/** /**
* 热门 * 热门

View File

@ -3,7 +3,6 @@
<a-button type="text" @click="show = true">分类</a-button> <a-button type="text" @click="show = true">分类</a-button>
<a-modal v-model:visible="show" @before-ok="submit"> <a-modal v-model:visible="show" @before-ok="submit">
<div> <div>
<a-tag v-for="item in list" type="primary" class="mr-15" @click="select(item)"> <a-tag v-for="item in list" type="primary" class="mr-15" @click="select(item)">
{{ item.tag }} {{ item.tag }}
</a-tag> </a-tag>

View File

@ -26,7 +26,7 @@
<template #menu="{ record }"> <template #menu="{ record }">
<div class="flex flex-center"> <div class="flex flex-center">
<edit type="edit" :info="record" @ok="fetchList" /> <edit type="edit" :info="record" @ok="fetchList" />
<linkLibrary :id="record.id" /> <linkLibrary :id="record.id" @ok="fetchList" />
<a-popconfirm content="确认删除该条数据" @ok="remove(record.id)"> <a-popconfirm content="确认删除该条数据" @ok="remove(record.id)">
<a-button type="text">删除</a-button> <a-button type="text">删除</a-button>
</a-popconfirm> </a-popconfirm>