1
0
mirror of https://github.com/chatopera/cosin.git synced 2025-08-01 16:38:02 +08:00

add: idb dependence

Signed-off-by: Kaifuny <superbiger.github@gmail.com>
This commit is contained in:
Kaifuny 2023-07-21 16:48:02 +08:00
parent 60fde2a9a8
commit 1d825b36f1
3 changed files with 11 additions and 0 deletions

View File

@ -21,6 +21,7 @@
"@vicons/ionicons5": "^0.12.0", "@vicons/ionicons5": "^0.12.0",
"@vueuse/core": "^10.2.1", "@vueuse/core": "^10.2.1",
"axios": "^1.4.0", "axios": "^1.4.0",
"idb": "^7.1.1",
"pinia": "^2.1.4", "pinia": "^2.1.4",
"vue": "^3.3.4", "vue": "^3.3.4",
"vue-router": "^4.2.4" "vue-router": "^4.2.4"

View File

@ -105,6 +105,7 @@ const active = ref(false)
<div class="text-sm">默认客服部门</div> <div class="text-sm">默认客服部门</div>
</div> </div>
</template> </template>
<RouterLink class="text-sm text-green-600" to="/index"> <RouterLink class="text-sm text-green-600" to="/index">
使用教程 使用教程
</RouterLink> </RouterLink>
@ -116,6 +117,7 @@ const active = ref(false)
@click="active = !active" @click="active = !active"
/> />
</n-badge> </n-badge>
<template #dropMenuAppend> <template #dropMenuAppend>
<div class="flex justify-between items-center"> <div class="flex justify-between items-center">
<div class="flex justify-between items-center space-x-2"> <div class="flex justify-between items-center space-x-2">
@ -144,6 +146,7 @@ const active = ref(false)
</div> </div>
</template> </template>
</Nav> </Nav>
<div class="grow relative overflow-hidden"> <div class="grow relative overflow-hidden">
<router-view></router-view> <router-view></router-view>
</div> </div>

View File

@ -17,6 +17,9 @@ importers:
axios: axios:
specifier: ^1.4.0 specifier: ^1.4.0
version: 1.4.0 version: 1.4.0
idb:
specifier: ^7.1.1
version: 7.1.1
pinia: pinia:
specifier: ^2.1.4 specifier: ^2.1.4
version: 2.1.4(typescript@5.1.6)(vue@3.3.4) version: 2.1.4(typescript@5.1.6)(vue@3.3.4)
@ -2999,6 +3002,10 @@ packages:
safer-buffer: 2.1.2 safer-buffer: 2.1.2
dev: true dev: true
/idb@7.1.1:
resolution: {integrity: sha512-gchesWBzyvGHRO9W8tzUWFDycow5gwjvFKfyV9FF32Y7F50yZMp7mP+T2mJIWFx49zicqyC4uefHM17o6xKIVQ==}
dev: false
/ieee754@1.2.1: /ieee754@1.2.1:
resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==}
dev: true dev: true