知识库bug修改

This commit is contained in:
gaoyuanwei 2022-06-20 09:56:28 +08:00
parent 40aae994a4
commit 0425b0e9f3
1 changed files with 0 additions and 3 deletions

View File

@ -40,9 +40,6 @@
]) ])
KnowledgeBaseStatic().then((res) => { KnowledgeBaseStatic().then((res) => {
contentBoxData.value = res.data.data contentBoxData.value = res.data.data
contentBox.value[1].num = contentBoxData.value[0].amount
contentBox.value[0].num = contentBoxData.value[1].amount
contentBoxData.value.forEach((item) => { contentBoxData.value.forEach((item) => {
if (item.type == '知识库上架总量') { if (item.type == '知识库上架总量') {
contentBox.value[0].num = item.amount contentBox.value[0].num = item.amount