修改第二个模块查看社团详情返回不渲染问题

This commit is contained in:
qumeng039@126.com 2025-08-15 17:28:10 +08:00
parent d990e68c74
commit 952d4f29d2
2 changed files with 4 additions and 1 deletions

View File

@ -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, // 请求超时时间

View File

@ -305,6 +305,9 @@ onMounted(() => {
const container = document.getElementById("container")
if (!container) return
chart = echarts.init(container)
if (!chart.getOption()) {
initChart()
}
handleClickNode()
})
</script>