@mjhls/mjh-framework 1.0.435 → 1.0.436
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/index.js +6 -6
- package/dist/esm/index.js +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/cjs/index.js
CHANGED
|
@@ -17779,30 +17779,30 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
17779
17779
|
if (visibility === 'top') {
|
|
17780
17780
|
// router.push('/view/[url]', newPath, { shallow: true })
|
|
17781
17781
|
window.history.pushState({ page: path }, meta.shareTitle, newPath);
|
|
17782
|
+
changeMeta(meta);
|
|
17782
17783
|
if (props.pageview) {
|
|
17783
17784
|
props.pageview(newPath);
|
|
17784
17785
|
}
|
|
17785
17786
|
refreshAD(path);
|
|
17786
|
-
changeMeta(meta);
|
|
17787
17787
|
}
|
|
17788
17788
|
} else {
|
|
17789
17789
|
if (visibility === 'bottom') {
|
|
17790
17790
|
// router.push('/view/[url]', newPath, { shallow: true })
|
|
17791
17791
|
window.history.pushState({ page: path }, meta.shareTitle, newPath);
|
|
17792
|
+
changeMeta(meta);
|
|
17792
17793
|
if (props.pageview) {
|
|
17793
17794
|
props.pageview(newPath);
|
|
17794
17795
|
}
|
|
17795
17796
|
refreshAD(path);
|
|
17796
|
-
changeMeta(meta);
|
|
17797
17797
|
}
|
|
17798
17798
|
}
|
|
17799
17799
|
if (visibility === 'small-top') {
|
|
17800
17800
|
window.history.pushState({ page: path }, meta.shareTitle, newPath);
|
|
17801
|
+
changeMeta(meta);
|
|
17801
17802
|
if (props.pageview) {
|
|
17802
17803
|
props.pageview(newPath);
|
|
17803
17804
|
}
|
|
17804
17805
|
refreshAD(path);
|
|
17805
|
-
changeMeta(meta);
|
|
17806
17806
|
}
|
|
17807
17807
|
}
|
|
17808
17808
|
};
|
|
@@ -22863,30 +22863,30 @@ var ArticleQueue$1 = function ArticleQueue(props) {
|
|
|
22863
22863
|
if (visibility === 'top') {
|
|
22864
22864
|
// router.push('/view/[url]', newPath, { shallow: true })
|
|
22865
22865
|
window.history.pushState({ page: path }, meta.shareTitle, newPath);
|
|
22866
|
+
changeMeta(meta);
|
|
22866
22867
|
if (props.pageview) {
|
|
22867
22868
|
props.pageview(newPath);
|
|
22868
22869
|
}
|
|
22869
22870
|
refreshAD(path);
|
|
22870
|
-
changeMeta(meta);
|
|
22871
22871
|
}
|
|
22872
22872
|
} else {
|
|
22873
22873
|
if (visibility === 'bottom') {
|
|
22874
22874
|
// router.push('/view/[url]', newPath, { shallow: true })
|
|
22875
22875
|
window.history.pushState({ page: path }, meta.shareTitle, newPath);
|
|
22876
|
+
changeMeta(meta);
|
|
22876
22877
|
if (props.pageview) {
|
|
22877
22878
|
props.pageview(newPath);
|
|
22878
22879
|
}
|
|
22879
22880
|
refreshAD(path);
|
|
22880
|
-
changeMeta(meta);
|
|
22881
22881
|
}
|
|
22882
22882
|
}
|
|
22883
22883
|
if (visibility === 'small-top') {
|
|
22884
22884
|
window.history.pushState({ page: path }, meta.shareTitle, newPath);
|
|
22885
|
+
changeMeta(meta);
|
|
22885
22886
|
if (props.pageview) {
|
|
22886
22887
|
props.pageview(newPath);
|
|
22887
22888
|
}
|
|
22888
22889
|
refreshAD(path);
|
|
22889
|
-
changeMeta(meta);
|
|
22890
22890
|
}
|
|
22891
22891
|
}
|
|
22892
22892
|
};
|
package/dist/esm/index.js
CHANGED
|
@@ -17777,30 +17777,30 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
17777
17777
|
if (visibility === 'top') {
|
|
17778
17778
|
// router.push('/view/[url]', newPath, { shallow: true })
|
|
17779
17779
|
window.history.pushState({ page: path }, meta.shareTitle, newPath);
|
|
17780
|
+
changeMeta(meta);
|
|
17780
17781
|
if (props.pageview) {
|
|
17781
17782
|
props.pageview(newPath);
|
|
17782
17783
|
}
|
|
17783
17784
|
refreshAD(path);
|
|
17784
|
-
changeMeta(meta);
|
|
17785
17785
|
}
|
|
17786
17786
|
} else {
|
|
17787
17787
|
if (visibility === 'bottom') {
|
|
17788
17788
|
// router.push('/view/[url]', newPath, { shallow: true })
|
|
17789
17789
|
window.history.pushState({ page: path }, meta.shareTitle, newPath);
|
|
17790
|
+
changeMeta(meta);
|
|
17790
17791
|
if (props.pageview) {
|
|
17791
17792
|
props.pageview(newPath);
|
|
17792
17793
|
}
|
|
17793
17794
|
refreshAD(path);
|
|
17794
|
-
changeMeta(meta);
|
|
17795
17795
|
}
|
|
17796
17796
|
}
|
|
17797
17797
|
if (visibility === 'small-top') {
|
|
17798
17798
|
window.history.pushState({ page: path }, meta.shareTitle, newPath);
|
|
17799
|
+
changeMeta(meta);
|
|
17799
17800
|
if (props.pageview) {
|
|
17800
17801
|
props.pageview(newPath);
|
|
17801
17802
|
}
|
|
17802
17803
|
refreshAD(path);
|
|
17803
|
-
changeMeta(meta);
|
|
17804
17804
|
}
|
|
17805
17805
|
}
|
|
17806
17806
|
};
|
|
@@ -22861,30 +22861,30 @@ var ArticleQueue$1 = function ArticleQueue(props) {
|
|
|
22861
22861
|
if (visibility === 'top') {
|
|
22862
22862
|
// router.push('/view/[url]', newPath, { shallow: true })
|
|
22863
22863
|
window.history.pushState({ page: path }, meta.shareTitle, newPath);
|
|
22864
|
+
changeMeta(meta);
|
|
22864
22865
|
if (props.pageview) {
|
|
22865
22866
|
props.pageview(newPath);
|
|
22866
22867
|
}
|
|
22867
22868
|
refreshAD(path);
|
|
22868
|
-
changeMeta(meta);
|
|
22869
22869
|
}
|
|
22870
22870
|
} else {
|
|
22871
22871
|
if (visibility === 'bottom') {
|
|
22872
22872
|
// router.push('/view/[url]', newPath, { shallow: true })
|
|
22873
22873
|
window.history.pushState({ page: path }, meta.shareTitle, newPath);
|
|
22874
|
+
changeMeta(meta);
|
|
22874
22875
|
if (props.pageview) {
|
|
22875
22876
|
props.pageview(newPath);
|
|
22876
22877
|
}
|
|
22877
22878
|
refreshAD(path);
|
|
22878
|
-
changeMeta(meta);
|
|
22879
22879
|
}
|
|
22880
22880
|
}
|
|
22881
22881
|
if (visibility === 'small-top') {
|
|
22882
22882
|
window.history.pushState({ page: path }, meta.shareTitle, newPath);
|
|
22883
|
+
changeMeta(meta);
|
|
22883
22884
|
if (props.pageview) {
|
|
22884
22885
|
props.pageview(newPath);
|
|
22885
22886
|
}
|
|
22886
22887
|
refreshAD(path);
|
|
22887
|
-
changeMeta(meta);
|
|
22888
22888
|
}
|
|
22889
22889
|
}
|
|
22890
22890
|
};
|