Open wggggggggg opened 3 months ago
getParent(name = 'uniPopup') { let parent = this.$parent; let parentName = parent.$options.name; while (parentName !== name) { parent = parent.$parent; if (!parent) return false parentName = parent.$options.name; } return parent; }, 这个函数中参数的默认值给的不对,应该改成UniPopup
你好,请给一下bug的复现代码
getParent(name = 'uniPopup') { let parent = this.$parent; let parentName = parent.$options.name; while (parentName !== name) { parent = parent.$parent; if (!parent) return false parentName = parent.$options.name; } return parent; }, 这个函数中参数的默认值给的不对,应该改成UniPopup