Skip to content

Commit 5600133

Browse files
committed
refactor(notice-bar): 将js文件中的==改为===
1 parent a1d438a commit 5600133

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dist/notice-bar/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/dist/notice-bar/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Component({
7171
},
7272

7373
ready() {
74-
if (this.properties.type == 'roll' && this.properties.show) {
74+
if (this.properties.type === 'roll' && this.properties.show) {
7575
this.initAnimation();
7676
}
7777
},
@@ -149,4 +149,4 @@ Component({
149149
});
150150
},
151151
}
152-
});
152+
});

src/notice-bar/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,4 +149,4 @@ Component({
149149
});
150150
},
151151
}
152-
});
152+
});

0 commit comments

Comments
 (0)