Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
SunWuyuan committed Sep 22, 2024
1 parent 9bc3401 commit 13f409a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/components/NewProjectDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<v-dialog v-model="this.showdialog" persistent max-width="500px">


<v-card prepend-icon="mdi-xml" title="作品信息">
<v-card prepend-icon="mdi-xml" title="新建作品">
<v-card-text>
<v-row dense>
<v-col cols="12" md="12" sm="12">
Expand Down Expand Up @@ -66,7 +66,7 @@ export default {
console.log(res)
this.$toast.add({ severity: 'info', summary: 'info', detail: res, life: 3000 });
if (res.status == '1') {
this.created = true
//this.created = true
this.newid = res.id
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Projects.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default {
projects: [],
curPage: 1,
totalPage: 1,
limit: 8,
limit: 20,
typeitems: { all: "", scratch: "scratch", python: "python" },
usetime: 0,
projectscount: 0,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ProjectsCards.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<v-row>
<v-col cols=" 12" md="3" v-for="info in projects.data" :key="info">
<v-col cols="12" xs="12" sm="6" md="4" lg="3" xl="2" xxl="2" v-for="info in projects.data" :key="info">
<ProjectCard :info="info" :user="projects.user.find((u) => u.id === info.authorid)" :actions="actions"></ProjectCard>
</v-col></v-row>
</template>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/projects/my.vue
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export default {
order: "view_up",
authorid: "",
type: "",
state: 'private',
state: '',
tag:''
},
userinfo: localuser.user,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/user/[...id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default {
scratchcount: 0,
curPage: 1,
totalPage: 1,
limit: 8,
limit: 20,
}
Expand Down

0 comments on commit 13f409a

Please sign in to comment.