fix(DropdownMenu): incorrect menu position when scroll (#5313)

This commit is contained in:
neverland
2019-12-19 16:51:41 +08:00
committed by GitHub
parent df6de0c7e4
commit 329a5cd0c3
3 changed files with 27 additions and 3 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ test('error loaded, click error-text and reload', async () => {
expect(wrapper.emitted('load')).toBeFalsy();
expect(wrapper.emitted('input')).toBeFalsy();
// 模拟点击error-text的行为
// simulate the behavior of clicking error-text
wrapper.vm.$on('update:error', val => {
wrapper.setProps({
error: val