修改第二个模块查看社团详情返回不渲染问题
This commit is contained in:
parent
d990e68c74
commit
952d4f29d2
|
|
@ -3,7 +3,7 @@ import cache from "./cache"
|
|||
import { ElMessage } from "element-plus"
|
||||
import router from "@/router"
|
||||
import { useLoginStore } from "@/store/authentication/index"
|
||||
// 创建axios实例
|
||||
|
||||
const service = axios.create({
|
||||
baseURL: import.meta.env.VITE_APP_BASE_API, // 从环境变量获取基础URL
|
||||
timeout: 10000, // 请求超时时间
|
||||
|
|
|
|||
|
|
@ -305,6 +305,9 @@ onMounted(() => {
|
|||
const container = document.getElementById("container")
|
||||
if (!container) return
|
||||
chart = echarts.init(container)
|
||||
if (!chart.getOption()) {
|
||||
initChart()
|
||||
}
|
||||
handleClickNode()
|
||||
})
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user