瀏覽代碼

chore: update comment

三咲智子 Kevin Deng 2 年之前
父節點
當前提交
305a651c68
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/runtime-vapor/src/directive.ts

+ 1 - 0
packages/runtime-vapor/src/directive.ts

@@ -99,6 +99,7 @@ export function withDirectives<T extends Node>(
 
     // register source
     if (source) {
+      // callback will be overridden by middleware
       renderWatch(source, NOOP)
     }
   }