Iview uses the global method $Modal, how to hide footer or custom footer

use the Modal component of iview, because the scene needs to use the global method, this.$Modal.confirm (.) The contents of the dialog box will be render out. How should the confirmation button and cancel button of footer be hidden in such a call?
found that the render can only change the content part, and the footer cannot be hidden or modified.
but if you use component mode, that is, < Modal > < / Modal >, you can hide it with footer"s slot, or you can use footerHide"s props to implement it.
asked the author in issue and replied that global mode cannot use the footerHide attribute.
so, I would like to ask the gods, is there any way to achieve this requirement?

Mar.31,2021

there are property controls in the source code that can hide the cancel button, but make sure the button is added to the Modal. It is recommended that footer be hidden with style control.


this.$Modal.confirm (.) I also encountered the problem of hiding footer, boss, did the problem be solved?


js cannot do this. It can be hidden on css:

.ivu-modal-confirm-footer {
    display: none;
}

just use loading

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e539c4-4525e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e539c4-4525e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?