Skip to content

Commit

Permalink
fix(vue3): update patch style isStyleExisted function comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zealotchen0 committed Feb 28, 2024
1 parent ba5635b commit 1102c02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/js/packages/hippy-vue-next/src/modules/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function patchStyle(
const batchedStyles: NeedToTyped = {};

if (isStyleExisted(el, prev, next)) {
// 如果前后属性相同, 则跳过patch计算
// if the previous and next attributes are the same, skip the patch calculation.
return;
}
if (prev && !next) {
Expand Down

0 comments on commit 1102c02

Please sign in to comment.