重新iviewUI Modal 组件 ok事件默认直接关闭modal 的行为[Code Snippet]


    this.$refs["gatewayModal"].ok = function(){_this.$refs["gatewayModal"].$emit('on-ok')}; // 重新组件内ok方法(默认会直接关闭modal)

相关