Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
h5-admin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yimu
h5-admin
Commits
07ca2fe6
Commit
07ca2fe6
authored
Dec 27, 2021
by
王伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
类目管理 缩略图非必传
parent
924ade73
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
sale-info.vue
src/view/good-mgr/add-commodity/sale-info.vue
+0
-0
category-management.vue
src/view/good-mgr/category-management.vue
+5
-5
No files found.
src/view/good-mgr/add-commodity/sale-info.vue
View file @
07ca2fe6
src/view/good-mgr/category-management.vue
View file @
07ca2fe6
...
...
@@ -326,8 +326,8 @@ export default {
},
// 添加商品目录
updateCategory
()
{
if
(
this
.
thum
.
length
==
0
||
!
this
.
addCate
.
name
)
{
this
.
$Message
.
warning
(
`
所有项均为必填项哦
!`
)
if
(
!
this
.
addCate
.
name
)
{
this
.
$Message
.
warning
(
`
请填写类目名称
!`
)
return
}
// this.updatePwdLoading = true
...
...
@@ -347,13 +347,13 @@ export default {
},
// 修改商品类目
eidotCategory
()
{
if
(
this
.
thum
.
length
==
0
||
!
this
.
eidtCate
.
name
)
{
this
.
$Message
.
warning
(
`
所有项均为必填项哦
!`
)
if
(
!
this
.
eidtCate
.
name
)
{
this
.
$Message
.
warning
(
`
请填写类目名称
!`
)
return
}
// this.updatePwdLoading = true
this
.
eidtCate
.
thumb
=
this
.
thum
[
0
]
console
.
log
(
'addCate'
,
this
.
eidtCate
)
//
console.log('addCate', this.eidtCate)
this
.
api
({
apiName
:
'categoryUpdate'
,
postdata
:
this
.
eidtCate
,
...
...
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