瀏覽代碼

chore: remove superfluous code (#5683)

zhoulixiang 4 年之前
父節點
當前提交
57ca32b096
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      packages/runtime-dom/src/modules/events.ts

+ 0 - 1
packages/runtime-dom/src/modules/events.ts

@@ -98,7 +98,6 @@ function parseName(name: string): [string, EventListenerOptions | undefined] {
     while ((m = name.match(optionsModifierRE))) {
       name = name.slice(0, name.length - m[0].length)
       ;(options as any)[m[0].toLowerCase()] = true
-      options
     }
   }
   return [hyphenate(name.slice(2)), options]