artalk 2.2.1 → 2.2.2
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/package.json
CHANGED
package/src/components/editor.ts
CHANGED
|
@@ -551,6 +551,8 @@ export default class Editor extends Component {
|
|
|
551
551
|
const $travelPlace = Utils.createElement('<div></div>')
|
|
552
552
|
$afterEl.after($travelPlace)
|
|
553
553
|
$travelPlace.replaceWith(this.$el)
|
|
554
|
+
|
|
555
|
+
this.$el.classList.add('atk-fade-in') // 添加渐入动画
|
|
554
556
|
}
|
|
555
557
|
|
|
556
558
|
travelBack () {
|
|
@@ -93,6 +93,7 @@ export default class SidebarLayer extends Component {
|
|
|
93
93
|
+ `?pageKey=${encodeURIComponent(this.conf.pageKey)}`
|
|
94
94
|
+ `&site=${encodeURIComponent(this.conf.site || '')}`
|
|
95
95
|
+ `&user=${userData}`
|
|
96
|
+
+ `&time=${+new Date()}`
|
|
96
97
|
+ `&referer=${encodeURIComponent(`${location.protocol}//${location.host}${location.pathname}`)}`
|
|
97
98
|
+ `${((this.conf.darkMode) ? `&darkMode=1` : ``)}`)
|
|
98
99
|
|