Merge branch 'hi-ucs-dev' of http://15.2.21.221:3000/wuhongjian/hi-ucs into hi-ucs-dev
This commit is contained in:
commit
98a17a8dd3
|
@ -39,11 +39,14 @@
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
KnowledgeBaseStatic().then((res) => {
|
KnowledgeBaseStatic().then((res) => {
|
||||||
console.log(res.data.data)
|
|
||||||
contentBoxData.value = res.data.data
|
contentBoxData.value = res.data.data
|
||||||
console.log(contentBoxData.value)
|
contentBoxData.value.forEach((item) => {
|
||||||
contentBox.value[1].num = contentBoxData.value[0].amount
|
if (item.type == '知识库上架总量') {
|
||||||
contentBox.value[0].num = contentBoxData.value[1].amount
|
contentBox.value[0].num = item.amount
|
||||||
|
} else {
|
||||||
|
contentBox.value[1].num = item.amount
|
||||||
|
}
|
||||||
|
})
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|
Loading…
Reference in New Issue