Fix the warning and error

This commit is contained in:
Marshu 2025-04-20 22:02:47 +08:00
parent 7e9dc81999
commit a41d674eb4

View file

@ -202,10 +202,6 @@ export default {
return (this.$root.publicGroupList.length >= 2);
}
},
created() {
// Initialize sort settings
this.initializeSortSettings();
},
watch: {
// Watch for changes in heartbeat list, reapply sorting
"$root.heartbeatList": {
@ -235,6 +231,10 @@ export default {
deep: true,
},
},
created() {
// Initialize sort settings
this.initializeSortSettings();
},
mounted() {
// Load sort settings from URL
this.loadSortSettingsFromURL();