Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
saas-manage
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chehuidong
saas-manage
Commits
f1ce29c6
Commit
f1ce29c6
authored
Nov 14, 2024
by
zhuzhequan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加密码
parent
f004862f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
+10
-1
src/views/home/navMenu.vue
+10
-1
No files found.
src/views/home/navMenu.vue
View file @
f1ce29c6
...
@@ -109,6 +109,11 @@
...
@@ -109,6 +109,11 @@
placeholder=
"请输入内容"
placeholder=
"请输入内容"
v-model=
"editForm.content"
></el-input>
v-model=
"editForm.content"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"密码"
>
<el-input
placeholder=
"请输入密码"
v-model=
"editForm.password"
></el-input>
</el-form-item>
</el-form>
</el-form>
<span
slot=
"footer"
>
<span
slot=
"footer"
>
<el-button
@
click=
"omVisible = false"
>
取消
</el-button>
<el-button
@
click=
"omVisible = false"
>
取消
</el-button>
...
@@ -330,7 +335,8 @@ export default {
...
@@ -330,7 +335,8 @@ export default {
confimPwd
:
''
,
confimPwd
:
''
,
omVisible
:
false
,
omVisible
:
false
,
editForm
:
{
editForm
:
{
content
:
''
content
:
''
,
password
:
''
,
}
}
}
}
},
},
...
@@ -411,6 +417,9 @@ export default {
...
@@ -411,6 +417,9 @@ export default {
if
(
!
this
.
editForm
.
content
)
{
if
(
!
this
.
editForm
.
content
)
{
return
this
.
$message
.
warning
(
'请输入内容'
)
return
this
.
$message
.
warning
(
'请输入内容'
)
}
}
if
(
!
this
.
editForm
.
password
)
{
return
this
.
$message
.
warning
(
'请输入密码'
)
}
try
{
try
{
const
res
=
await
post
(
'sys/announcement/get/tool'
,
{
const
res
=
await
post
(
'sys/announcement/get/tool'
,
{
...
this
.
editForm
...
this
.
editForm
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment