Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_admin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_admin
Commits
49cce47f
Commit
49cce47f
authored
Jul 21, 2023
by
yaya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:优化
parent
af24efd4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
src/router/index.js
src/router/index.js
+2
-2
src/views/goods/components/selectImageDialog.vue
src/views/goods/components/selectImageDialog.vue
+2
-1
src/views/goods/list.vue
src/views/goods/list.vue
+1
-1
No files found.
src/router/index.js
View file @
49cce47f
...
@@ -163,8 +163,8 @@ export const asyncRouterMap = [
...
@@ -163,8 +163,8 @@ export const asyncRouterMap = [
name
:
'
category
'
,
name
:
'
category
'
,
meta
:
{
meta
:
{
perms
:
[
'
GET /admin/category/list
'
,
'
POST /admin/category/create
'
,
'
GET /admin/category/read
'
,
'
POST /admin/category/update
'
,
'
POST /admin/category/delete
'
,
'
POST /admin/category/getSubCategory
'
,
'
POST /admin/bidrecord/list
'
],
perms
:
[
'
GET /admin/category/list
'
,
'
POST /admin/category/create
'
,
'
GET /admin/category/read
'
,
'
POST /admin/category/update
'
,
'
POST /admin/category/delete
'
,
'
POST /admin/category/getSubCategory
'
,
'
POST /admin/bidrecord/list
'
],
title
:
'
信息
设置
'
,
title
:
'
钱币
设置
'
,
icon
:
'
list
'
,
icon
:
'
setting
'
,
noCache
:
true
noCache
:
true
},
},
hidden
:
true
hidden
:
true
...
...
src/views/goods/components/selectImageDialog.vue
View file @
49cce47f
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
</el-dialog>
</el-dialog>
<LamaImageDialog
<LamaImageDialog
v-if=
"showLamaImageDialog"
:show-lama-dialog=
"showLamaImageDialog"
:show-lama-dialog=
"showLamaImageDialog"
@
imageBase64=
"handleGetImageBase64"
/>
@
imageBase64=
"handleGetImageBase64"
/>
</div>
</div>
...
@@ -67,7 +68,6 @@ export default {
...
@@ -67,7 +68,6 @@ export default {
this
.
$message
.
error
(
'
请选择图片
'
)
this
.
$message
.
error
(
'
请选择图片
'
)
return
return
}
}
debugger
if
(
this
.
selectType
===
1
)
{
// 去水印
if
(
this
.
selectType
===
1
)
{
// 去水印
const
result
=
this
.
copyContent
(
this
.
imageList
[
this
.
currentPosition
])
const
result
=
this
.
copyContent
(
this
.
imageList
[
this
.
currentPosition
])
if
(
result
)
{
if
(
result
)
{
...
@@ -152,6 +152,7 @@ export default {
...
@@ -152,6 +152,7 @@ export default {
.gallery
{
.gallery
{
width
:
100px
;
width
:
100px
;
height
:
100px
;
height
:
100px
;
object-fit
:
contain
;
}
}
.check_img
{
.check_img
{
...
...
src/views/goods/list.vue
View file @
49cce47f
...
@@ -117,7 +117,7 @@ export default {
...
@@ -117,7 +117,7 @@ export default {
page
:
1
,
page
:
1
,
limit
:
20
,
limit
:
20
,
name
:
undefined
,
name
:
undefined
,
sort
:
'
created
'
,
sort
:
'
update_time
'
,
order
:
'
desc
'
order
:
'
desc
'
},
},
goodsDetail
:
''
,
goodsDetail
:
''
,
...
...
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