fix
This commit is contained in:
parent
079b7255be
commit
ade5f0adb5
@ -20,7 +20,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
linkClass(params) {
|
linkClass(params) {
|
||||||
return fetch('/library/relateLibrary', params, 'post', 'json')
|
return fetch('/library/alterClass', params, 'post', 'json')
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* 热门
|
* 热门
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user