Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a-modal 如何隐藏确认按钮 #3114

Closed
1 task
shuzhiwei opened this issue May 5, 2024 · 1 comment
Closed
1 task

a-modal 如何隐藏确认按钮 #3114

shuzhiwei opened this issue May 5, 2024 · 1 comment

Comments

@shuzhiwei
Copy link

Basic Info

  • Package Name And Version: @arco-design/web-vue@2.55.1
  • Browser: chrome119.0.0.0

Steps to reproduce

ok-button-props="{style: {display: none}}" 使用这个属性报错:Failed to execute 'setAttribute' on 'Element': '0' is not a valid attribute name.

@shuzhiwei
Copy link
Author

<a-modal
  :footer="false"
>

  <template #footer>
    <!--or defined a blank div to hide ok -->
    <div></div>
  </template>

</a-modal>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant