mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-28 09:00:48 +08:00
fix: 操作ldrs
This commit is contained in:
@@ -147,11 +147,8 @@
|
||||
|
||||
<script>
|
||||
import { ref, computed, watch, onMounted } from "vue"
|
||||
import { hatch } from "ldrs"
|
||||
import { isMobile } from "~/utils/screen"
|
||||
if (process.client) {
|
||||
hatch.register()
|
||||
}
|
||||
|
||||
|
||||
export default {
|
||||
name: "BaseDropdown",
|
||||
@@ -255,7 +252,7 @@ export default {
|
||||
}
|
||||
})
|
||||
|
||||
onMounted(() => {
|
||||
onMounted(async () => {
|
||||
if (!props.remote) {
|
||||
loadOptions()
|
||||
}
|
||||
|
||||
@@ -117,10 +117,6 @@ import { authState } from '~/utils/auth'
|
||||
import { fetchUnreadCount, notificationState } from '~/utils/notification'
|
||||
import { watch } from 'vue'
|
||||
import { API_BASE_URL } from '~/main'
|
||||
import { hatch } from 'ldrs'
|
||||
if (process.client) {
|
||||
hatch.register()
|
||||
}
|
||||
|
||||
export default {
|
||||
name: 'MenuComponent',
|
||||
|
||||
Reference in New Issue
Block a user