Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
18b2b3c8
authored
Sep 28, 2022
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
商品管理/商品列表:分类无数据
parent
be254514
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
src/views/Goods/goods.vue
src/views/Goods/goods.vue
View file @
18b2b3c8
...
...
@@ -125,7 +125,7 @@ export default {
getClass
()
{
this
.
$http
(
'get'
,
"/api/class/get_class_list"
,
{}).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
var
arr_
=
res
.
data
||
[]
var
arr_
=
res
.
data
.
list
||
[]
for
(
var
i
=
0
;
i
<
arr_
.
length
;
i
++
)
{
var
children_arr
=
[]
var
arr_2
=
arr_
[
i
].
sub_class
||
[]
...
...
@@ -142,7 +142,10 @@ export default {
})
}
}
else
{
this
.
$message
(
res
.
msg
);
this
.
$message
({
message
:
res
.
msg
,
type
:
'warning'
});
}
})
},
...
...
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