Skip to content

直接使用对话框Modal打不开,发现使用的是react的open,应该使用vue的visible #8188

Open
@superuser123472

Description

@superuser123472
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

undefined

Environment

win11,"vue": "^3.2.45","ant-design-vue": "^3.2.15",

Reproduction link

http://localhost:9000/#/visualManagement/statisticalAnalysis

Steps to reproduce

Open Modal

Some contents...

Some contents...

Some contents...

<script setup> import { ref } from 'vue'; const open = ref(false); const showModal = () => { open.value = true; }; const handleOk = e => { console.log(e); open.value = false; }; </script>直接在vue中使用这段代码是打不开的,连浏览器dom元素都没渲染处理,要把opne改成vue的visible才能打开。

What is expected?

这是vue文档,为什么要用react的open

What is actually happening?

打不开对话框modal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions