fix(v-on): proper member exp detection for bracket assignment
fix #4097
This commit is contained in:
@@ -104,4 +104,5 @@ test('isMemberExpression', () => {
|
||||
expect(isMemberExpression('a + b')).toBe(false)
|
||||
expect(isMemberExpression('foo()')).toBe(false)
|
||||
expect(isMemberExpression('a?b:c')).toBe(false)
|
||||
expect(isMemberExpression(`state['text'] = $event`)).toBe(false)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user