改进
This commit is contained in:
parent
bc0db5a5be
commit
d6fcf82973
@ -2,4 +2,13 @@
|
||||
<div>a</div>
|
||||
</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-card>
|
||||
<v-card-text> 确认删除所选项? </v-card-text>
|
||||
<v-card-text v-text="is_deleting ? '正在为你准备新项目。' : '确认删除所选项?'"></v-card-text>
|
||||
<v-card-actions>
|
||||
<v-btn
|
||||
color="primary"
|
||||
@ -73,7 +73,6 @@
|
||||
:length="libraries.Total"
|
||||
:disabled="loading"
|
||||
@update:model-value="load"
|
||||
next-icon
|
||||
></v-pagination>
|
||||
</v-container>
|
||||
</v-col>
|
||||
@ -177,6 +176,9 @@ function deleteSelected() {
|
||||
if (page.value == libraries.value.Page) {
|
||||
page.value = page.value - 1;
|
||||
}
|
||||
if (page.value == 0) {
|
||||
page.value = 1
|
||||
}
|
||||
|
||||
load(false);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user