重新iviewUI Modal 組件 ok事件默認直接關閉modal 的行爲[Code Snippet]

    this.$refs["gatewayModal"].ok = function(){_this.$refs["gatewayModal"].$emit('on-ok')}; // 重新組件內ok方法(默認會直接關閉modal)
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章