Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
SunWuyuan committed Dec 7, 2024
1 parent 9214a20 commit 057896b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
27 changes: 14 additions & 13 deletions src/pages/projects/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
></v-text-field
></v-col>
<v-col cols="6">
<v-number-input
<v-text-field
control-variant="用户ID"
:label="'用户ID 为:' + search.authorid"
v-model="search.authorid"
></v-number-input
></v-text-field
></v-col>

<v-col cols="3"
Expand Down Expand Up @@ -113,6 +113,18 @@ export default {
},
data() {
return {
search: {
title: "",
type: "",
description: "",
source: "",
order: "view_up",
authorid: "",
type: "scratch",
state: "public",
tag: "",
},
searchstates: [{ state: "所有", abbr: "public" }],
typeitems: [
{ name: "所有", type: "" },
Expand All @@ -127,17 +139,6 @@ export default {
{ name: "序号升序", type: "id_up" },
{ name: "序号降序", type: "id_down" },
],
search: {
title: "",
type: "",
description: "",
source: "",
order: "view_up",
authorid: "",
type: "scratch",
state: "public",
tag: "",
},
};
},
methods: {
Expand Down
4 changes: 2 additions & 2 deletions src/pages/projects/my.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
></v-text-field
></v-col>
<v-col cols="6">
<v-number-input
<v-text-field
control-variant="用户ID"
:label="'用户ID 为:' + search.authorid"
v-model="localuser.user.userid"
disabled
></v-number-input
></v-text-field
></v-col>

<v-col cols="3"
Expand Down

0 comments on commit 057896b

Please sign in to comment.