Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
educg-net-26009-2210132
proj235-Linux的OTA升级系统-3773
Commits
a7c65cbe
Commit
a7c65cbe
authored
7 months ago
by
终究还是我们队
Browse files
Options
Download
Patches
Plain Diff
Delete UserManager.vue
parent
bb02b43e
main
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
web/components/UserManager.vue
+0
-36
web/components/UserManager.vue
with
0 additions
and
36 deletions
+0
-36
web/components/UserManager.vue
deleted
100644 → 0
+
0
−
36
View file @
bb02b43e
<
template
>
<div>
<h1>
User Manager
</h1>
<ul>
<li
v-for=
"user in users"
:key=
"user.id"
>
{{
user
.
username
}}
</li>
</ul>
</div>
</
template
>
<
script
>
export
default
{
name
:
'
UserManager
'
,
data
()
{
return
{
users
:
[]
};
},
methods
:
{
fetchUsers
()
{
// Fetch users from backend
fetch
(
'
/api/users
'
)
.
then
(
response
=>
response
.
json
())
.
then
(
data
=>
{
this
.
users
=
data
;
});
}
},
created
()
{
this
.
fetchUsers
();
}
};
</
script
>
<
style
scoped
>
/* Styles here */
</
style
>
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets