改进
This commit is contained in:
parent
bc0db5a5be
commit
d6fcf82973
@ -2,4 +2,13 @@
|
|||||||
<div>a</div>
|
<div>a</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts"></script>
|
<script setup>
|
||||||
|
import router from '@/router';
|
||||||
|
|
||||||
|
|
||||||
|
const libraryId = router.currentRoute.value.params.LibraryId
|
||||||
|
|
||||||
|
console.log(libraryId)
|
||||||
|
|
||||||
|
|
||||||
|
</script>
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
<v-dialog v-model="show_dialog" activator="parent" width="auto">
|
<v-dialog v-model="show_dialog" activator="parent" width="auto">
|
||||||
<v-card>
|
<v-card>
|
||||||
<v-card-text> 确认删除所选项? </v-card-text>
|
<v-card-text v-text="is_deleting ? '正在为你准备新项目。' : '确认删除所选项?'"></v-card-text>
|
||||||
<v-card-actions>
|
<v-card-actions>
|
||||||
<v-btn
|
<v-btn
|
||||||
color="primary"
|
color="primary"
|
||||||
@ -73,7 +73,6 @@
|
|||||||
:length="libraries.Total"
|
:length="libraries.Total"
|
||||||
:disabled="loading"
|
:disabled="loading"
|
||||||
@update:model-value="load"
|
@update:model-value="load"
|
||||||
next-icon
|
|
||||||
></v-pagination>
|
></v-pagination>
|
||||||
</v-container>
|
</v-container>
|
||||||
</v-col>
|
</v-col>
|
||||||
@ -177,6 +176,9 @@ function deleteSelected() {
|
|||||||
if (page.value == libraries.value.Page) {
|
if (page.value == libraries.value.Page) {
|
||||||
page.value = page.value - 1;
|
page.value = page.value - 1;
|
||||||
}
|
}
|
||||||
|
if (page.value == 0) {
|
||||||
|
page.value = 1
|
||||||
|
}
|
||||||
|
|
||||||
load(false);
|
load(false);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user