更新
This commit is contained in:
parent
49aaf5899d
commit
caff4f4275
@ -537,7 +537,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
this.bvid = this.getAttribute('bvid');
|
this.bvid = this.getAttribute('bvid');
|
||||||
this.page = this.getAttribute('page') && !Number.isNaN(this.getAttribute('page')) ? this.getAttribute('page') : 1;
|
this.page = Object.is(Number(this.getAttribute('page')), NaN) ? 1 : this.getAttribute('page');
|
||||||
this.render();
|
this.render();
|
||||||
}
|
}
|
||||||
render() {
|
render() {
|
||||||
|
2
assets/js/joe.short.min.js
vendored
2
assets/js/joe.short.min.js
vendored
File diff suppressed because one or more lines are too long
@ -6,5 +6,5 @@ export default {
|
|||||||
file: './js/joe.write.chunk.js',
|
file: './js/joe.write.chunk.js',
|
||||||
format: 'iife'
|
format: 'iife'
|
||||||
},
|
},
|
||||||
plugins: [nodeResolve(), uglify()]
|
plugins: [nodeResolve()]
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user