Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
marketing-web
marketing
Commits
e42b66ba
Commit
e42b66ba
authored
Apr 16, 2020
by
chenxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: upload.js
parent
5c1b684c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
index.html
dist/index.html
+2
-2
main.009190893fcb12e9c083.js
dist/static/js/main.009190893fcb12e9c083.js
+0
-0
main.bae64b31ec7e014030bb.js
dist/static/js/main.bae64b31ec7e014030bb.js
+0
-0
upload.js
src/directives/upload.js
+2
-2
No files found.
dist/index.html
View file @
e42b66ba
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><link
rel=
"shortcut icon"
href=
./static/img/favicon.ico
><title>
GIC后台
</title><link
rel=
stylesheet
type=
text/css
href=
static/fonts/iconfont.css
><link
rel=
stylesheet
type=
text/css
href=
static/css/common.css
><link
rel=
stylesheet
href=
//web-1251519181.file.myqcloud.com/components/element.2.12.0.css
><link
href=
/marketing/static/css/main.fd29cfd60b53e74629a43b52c4b27d9c.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/element.2.12.0.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/header.2.0.33.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/card.2.0.09.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/member-group.2.2.12.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-card.2.0.18.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/confirm-people.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/people.2.0.42.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/export-excel.2.0.13.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/input.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/delete.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/selector.1.2.02.js
></script><script
type=
text/javascript
src=
/marketing/static/js/manifest.a5402239e5433f5dd377.js
></script><script
type=
text/javascript
src=
/marketing/static/js/vendor.cbb380c2053ab598e892.js
></script><script
type=
text/javascript
src=
/marketing/static/js/main.bae64b31ec7e014030bb.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><link
rel=
"shortcut icon"
href=
./static/img/favicon.ico
><title>
GIC后台
</title><link
rel=
stylesheet
type=
text/css
href=
static/fonts/iconfont.css
><link
rel=
stylesheet
type=
text/css
href=
static/css/common.css
><link
rel=
stylesheet
href=
//web-1251519181.file.myqcloud.com/components/element.2.12.0.css
><link
href=
/marketing/static/css/main.fd29cfd60b53e74629a43b52c4b27d9c.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/element.2.12.0.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/header.2.0.33.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/card.2.0.09.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/member-group.2.2.12.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-card.2.0.18.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/confirm-people.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/people.2.0.42.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/export-excel.2.0.13.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/input.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/delete.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/selector.1.2.02.js
></script><script
type=
text/javascript
src=
/marketing/static/js/manifest.a5402239e5433f5dd377.js
></script><script
type=
text/javascript
src=
/marketing/static/js/vendor.cbb380c2053ab598e892.js
></script><script
type=
text/javascript
src=
/marketing/static/js/main.009190893fcb12e9c083.js
></script></body></html>
\ No newline at end of file
dist/static/js/main.009190893fcb12e9c083.js
0 → 100644
View file @
e42b66ba
This diff is collapsed.
Click to expand it.
dist/static/js/main.bae64b31ec7e014030bb.js
deleted
100644 → 0
View file @
5c1b684c
This diff is collapsed.
Click to expand it.
src/directives/upload.js
View file @
e42b66ba
...
...
@@ -83,8 +83,8 @@ export default {
if
(
res
.
data
.
errorCode
===
0
)
{
if
(
binding
.
value
.
url
===
'/api-plug/upload-img'
)
{
(
binding
.
value
.
model
.
code
=
res
.
data
.
result
[
0
].
imageFiledCode
),
(
binding
.
value
.
model
.
imgUrl
=
res
.
data
.
result
[
0
].
qcloudImageUrl
);
}
else
if
(
binding
.
value
.
acceptType
&&
binding
.
value
.
acceptType
.
includes
(
'csv'
))
{
// 额外为
csv
}
else
if
(
binding
.
value
.
acceptType
&&
(
binding
.
value
.
acceptType
.
includes
(
'csv'
)
||
binding
.
value
.
acceptType
.
includes
(
'xls'
)
||
binding
.
value
.
acceptType
.
includes
(
'xlsx'
)
))
{
// 额外为
excel
binding
.
value
.
model
.
code
=
new
Date
().
getTime
();
}
else
{
(
binding
.
value
.
model
.
code
=
res
.
data
.
result
.
imageFiledCode
),
(
binding
.
value
.
model
.
imgUrl
=
res
.
data
.
result
.
qcloudImageUrl
);
...
...
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