feat-当伊调研路由新增控制AI 智能创建助手弹框是否显示的参数
This commit is contained in:
@@ -362,6 +362,15 @@ function calculateCount() {
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
/** add by zhangweiwei 20250331_ai 智能创建助手 start */
|
||||
// 从路由参数重获取 showModal 参数的值,判断是否显示弹窗
|
||||
const { showModal } = router.currentRoute.value.query;
|
||||
if (showModal && showModal === 'aiAssistant') {
|
||||
// 显示智能创建助手弹框
|
||||
aiAssistantVisible.value = true;
|
||||
}
|
||||
/** add by zhangweiwei 20250331_ai 智能创建助手 end */
|
||||
|
||||
window.addEventListener('resize', calculateCount, false);
|
||||
// document.addEventListener('click', listenClickEvent, false);
|
||||
calculateCount();
|
||||
|
||||
Reference in New Issue
Block a user