Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
78903eb7
Commit
78903eb7
authored
Jun 28, 2018
by
Junling Bu
Browse files
fix[litemall-admin]: 删除不必要的代码
parent
79f71649
Changes
2
Hide whitespace changes
Inline
Side-by-side
litemall-admin/src/api/storage.js
View file @
78903eb7
...
...
@@ -61,9 +61,5 @@ export function deleteStorage(data) {
})
}
export
function
getUploadApi
(
data
)
{
return
process
.
env
.
OS_API
+
'
/storage/create
'
}
const
uploadPath
=
process
.
env
.
OS_API
+
'
/storage/create
'
export
{
uploadPath
}
litemall-admin/src/views/goods/goods.vue
View file @
78903eb7
...
...
@@ -208,7 +208,7 @@
<
script
>
import
{
listGoods
,
updateGoods
,
deleteGoods
}
from
'
@/api/goods
'
import
{
createStorage
,
getUploadApi
}
from
'
@/api/storage
'
import
{
createStorage
}
from
'
@/api/storage
'
import
waves
from
'
@/directive/waves
'
// 水波纹指令
import
BackToTop
from
'
@/components/BackToTop
'
import
Editor
from
'
@tinymce/tinymce-vue
'
...
...
@@ -219,10 +219,9 @@ export default {
directives
:
{
waves
},
data
()
{
return
{
list
:
undefined
,
list
:
[]
,
galleryFileList
:
[],
UPLOAD_API
:
getUploadApi
(),
total
:
undefined
,
total
:
0
,
listLoading
:
true
,
listQuery
:
{
page
:
1
,
...
...
Write
Preview
Supports
Markdown
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