Skip to content

Commit a11d6de

Browse files
committed
chore: update analytics
1 parent fff32f2 commit a11d6de

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

components/OneMenu.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default {
9292
data () {
9393
return {
9494
menuExpanded: [],
95-
sort: loadPref('sort-components') || false
95+
sort: false
9696
}
9797
},
9898
computed: {
@@ -108,6 +108,9 @@ export default {
108108
created () {
109109
this.menuExpanded = this.menuItems.map(({ name }) => name)
110110
},
111+
mounted () {
112+
this.sort = loadPref('sort-components') || false
113+
},
111114
methods: {
112115
getTitleDetail (title) {
113116
let [main, cn] = title.split(' - ')

package-lock.json

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@justfork/rehype-autolink-headings": "^5.1.1",
2626
"@justfork/vue-monaco": "^0.3.1",
2727
"@stackblitz/sdk": "^1.5.2",
28-
"@vercel/analytics": "^0.1.10",
28+
"@vercel/analytics": "^1.0.1",
2929
"@vue/runtime-dom": "^3.2.31",
3030
"babel-eslint": "^10.1.0",
3131
"babel-plugin-lodash": "^3.3.4",

0 commit comments

Comments
 (0)