This commit is contained in:
huanqing.shao
2019-11-03 21:51:07 +08:00
parent a7ffaa1f8d
commit c7ca6dc076
14 changed files with 168 additions and 97 deletions

View File

@ -65,9 +65,9 @@ export default ({
if (typeof window !== 'undefined') {
AOS.init({
easing: 'ease-out-back',
duration: 1000
duration: 1200
});
if (location.search && location.search.indexOf('sharing') >=0) {
if (location.search && (location.search.indexOf('sharing') >=0 || location.search.indexOf('from=timeline') >= 0)) {
sharing = true
window.kuboardSharing = true
} else {