Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
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
baiguangyao
mr-julyedu
Commits
e20373e0
Commit
e20373e0
authored
Sep 20, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Plain Diff
test
parents
ba908c34
3100b704
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
302 additions
and
2 deletions
+302
-2
build/precache-manifest.98e41fdfc43bca9e3272aea365d6f7f6.js
+299
-0
src/components/my/index.js
+1
-0
src/store/userAction.js
+2
-2
No files found.
build/precache-manifest.98e41fdfc43bca9e3272aea365d6f7f6.js
0 → 100644
View file @
e20373e0
self
.
__precacheManifest
=
[
{
"revision"
:
"77ec57dd9b7b6e20f1f7"
,
"url"
:
"/mrstatic/js/search.e1881957.chunk.js"
},
{
"revision"
:
"a9ef0fb43dd748967bda"
,
"url"
:
"/mrstatic/js/0.aef3cf26.chunk.js"
},
{
"revision"
:
"de62aba8eb390a0e879a"
,
"url"
:
"/mrstatic/js/BargainMiddlePage.f5bb0d59.chunk.js"
},
{
"revision"
:
"8edaf2ff2566ed17e2dd22cf4f8ad7ae"
,
"url"
:
"/mrstatic/media/redb_chai_bj@2x.8edaf2ff.png"
},
{
"revision"
:
"da4c5b9c52d373ead12b"
,
"url"
:
"/mrstatic/js/Classify.914a8251.chunk.js"
},
{
"revision"
:
"c79abf5cb7ae8a82009cf68fe44d1078"
,
"url"
:
"/mrstatic/media/redb_money_bj@2x.c79abf5c.png"
},
{
"revision"
:
"a999eb7686c310c7ecd7"
,
"url"
:
"/mrstatic/js/CourseList.ab1190ce.chunk.js"
},
{
"revision"
:
"6902434f8f18a23319d57d0ac8aaea8c"
,
"url"
:
"/mrstatic/media/redb_sp_bj@2x.6902434f.png"
},
{
"revision"
:
"e82fbe8c3278f95eb101"
,
"url"
:
"/mrstatic/js/DrawDocument.7730f3de.chunk.js"
},
{
"revision"
:
"79139f6aad350256e151f9f73c226348"
,
"url"
:
"/mrstatic/media/hb_bj.79139f6a.png"
},
{
"revision"
:
"c909d0b78fa7f27cd2d7"
,
"url"
:
"/mrstatic/js/Examination.df98c5b3.chunk.js"
},
{
"revision"
:
"2f84d5508b8afa2dac0e"
,
"url"
:
"/mrstatic/js/MyEdit.30ed911f.chunk.js"
},
{
"revision"
:
"80011994e30adf599e5f47fcc81bc06d"
,
"url"
:
"/mrstatic/media/progress-share-bg.80011994.png"
},
{
"revision"
:
"6c8b5e269249316d8573"
,
"url"
:
"/mrstatic/js/Order.c77bf267.chunk.js"
},
{
"revision"
:
"8e131e92a3d484c570d2"
,
"url"
:
"/mrstatic/js/Orderinfo.eaea6ad9.chunk.js"
},
{
"revision"
:
"81a489ac63f2f2df5ab412e0782bd54c"
,
"url"
:
"/mrstatic/media/kanjia_cg_icon.81a489ac.png"
},
{
"revision"
:
"48bf7a978aee321aaf62"
,
"url"
:
"/mrstatic/js/PayOrder.c0854efc.chunk.js"
},
{
"revision"
:
"f983caa7c06f105373e7e1aec42da261"
,
"url"
:
"/mrstatic/media/iconfont.f983caa7.svg"
},
{
"revision"
:
"fd8433a5044a99f024ac"
,
"url"
:
"/mrstatic/js/Preferential.c92167d3.chunk.js"
},
{
"revision"
:
"145742789ab409c81f28938b15b5dee7"
,
"url"
:
"/mrstatic/media/iconfont.14574278.ttf"
},
{
"revision"
:
"7a83eae82a30deb3638a"
,
"url"
:
"/mrstatic/js/SearchResult.0c0c9343.chunk.js"
},
{
"revision"
:
"cd1c41437a2e35a283e4b16b620a8c9e"
,
"url"
:
"/mrstatic/media/iconfont.cd1c4143.eot"
},
{
"revision"
:
"f0cf90f514d5e6da0030"
,
"url"
:
"/mrstatic/js/ShopCart.4c2987b1.chunk.js"
},
{
"revision"
:
"7b542c778563daa7cc420d21ed1601b3"
,
"url"
:
"/mrstatic/media/iconfont.7b542c77.woff"
},
{
"revision"
:
"8d4fa98741a43b92d467"
,
"url"
:
"/mrstatic/js/aist-share.ca8ee328.chunk.js"
},
{
"revision"
:
"e6795a3dc4e414db9d5f"
,
"url"
:
"/mrstatic/js/33.9869dd21.chunk.js"
},
{
"revision"
:
"74bde9fd476c8eb4d3f4"
,
"url"
:
"/mrstatic/js/coupons.d1a2510b.chunk.js"
},
{
"revision"
:
"88a034d5fe29124ef41d"
,
"url"
:
"/mrstatic/js/32.0e3712aa.chunk.js"
},
{
"revision"
:
"5c74c002afa5976fedad"
,
"url"
:
"/mrstatic/js/detail.85ffa494.chunk.js"
},
{
"revision"
:
"deeaf6164c442e8cf2bb"
,
"url"
:
"/mrstatic/js/31.66e2dea5.chunk.js"
},
{
"revision"
:
"f05e6dba707ae1699a1d"
,
"url"
:
"/mrstatic/js/main.4086b526.chunk.js"
},
{
"revision"
:
"9105b19a74cb68a48004"
,
"url"
:
"/mrstatic/js/30.58628dcc.chunk.js"
},
{
"revision"
:
"bcb23b865678f9e65d12"
,
"url"
:
"/mrstatic/js/myorders.328b8a1a.chunk.js"
},
{
"revision"
:
"8a11abae4a8306952d79"
,
"url"
:
"/mrstatic/js/29.cddce484.chunk.js"
},
{
"revision"
:
"ff63d278ac912e9e7a66"
,
"url"
:
"/mrstatic/js/purchased.bd243498.chunk.js"
},
{
"revision"
:
"4731025fd1f5d2b28e7b"
,
"url"
:
"/mrstatic/js/runtime~main.b6d922e4.js"
},
{
"revision"
:
"6d70c0121fc329e49b58"
,
"url"
:
"/mrstatic/js/28.a684e5c7.chunk.js"
},
{
"revision"
:
"19f589443d3f9529c604"
,
"url"
:
"/mrstatic/js/27.4948c8d6.chunk.js"
},
{
"revision"
:
"c0cc6176b0423c03a2e5"
,
"url"
:
"/mrstatic/js/26.b2e8d558.chunk.js"
},
{
"revision"
:
"b7d57349c471562e76c5"
,
"url"
:
"/mrstatic/js/shareposter.1e04a897.chunk.js"
},
{
"revision"
:
"660d0d9314688d035bf1"
,
"url"
:
"/mrstatic/js/25.9c12d055.chunk.js"
},
{
"revision"
:
"1eb412596fb9bdce1266"
,
"url"
:
"/mrstatic/js/study.08722869.chunk.js"
},
{
"revision"
:
"b9c4a28f55c083c1db97"
,
"url"
:
"/mrstatic/js/video.8f038845.chunk.js"
},
{
"revision"
:
"f5caca41afe2d4a2eb85"
,
"url"
:
"/mrstatic/js/togroup.03b425a3.chunk.js"
},
{
"revision"
:
"88a034d5fe29124ef41d"
,
"url"
:
"/mrstatic/css/32.278ad3b1.chunk.css"
},
{
"revision"
:
"b9c4a28f55c083c1db97"
,
"url"
:
"/mrstatic/css/video.b57a1aec.chunk.css"
},
{
"revision"
:
"5c74c002afa5976fedad"
,
"url"
:
"/mrstatic/css/detail.4c28ce89.chunk.css"
},
{
"revision"
:
"660d0d9314688d035bf1"
,
"url"
:
"/mrstatic/css/25.aebbab68.chunk.css"
},
{
"revision"
:
"b7d57349c471562e76c5"
,
"url"
:
"/mrstatic/css/shareposter.f09a5959.chunk.css"
},
{
"revision"
:
"19f589443d3f9529c604"
,
"url"
:
"/mrstatic/css/27.4c706a4e.chunk.css"
},
{
"revision"
:
"de62aba8eb390a0e879a"
,
"url"
:
"/mrstatic/css/BargainMiddlePage.718dff83.chunk.css"
},
{
"revision"
:
"6d70c0121fc329e49b58"
,
"url"
:
"/mrstatic/css/28.2471f477.chunk.css"
},
{
"revision"
:
"77ec57dd9b7b6e20f1f7"
,
"url"
:
"/mrstatic/css/search.fab97849.chunk.css"
},
{
"revision"
:
"8a11abae4a8306952d79"
,
"url"
:
"/mrstatic/css/29.0bb224f2.chunk.css"
},
{
"revision"
:
"ff63d278ac912e9e7a66"
,
"url"
:
"/mrstatic/css/purchased.1daf107b.chunk.css"
},
{
"revision"
:
"9105b19a74cb68a48004"
,
"url"
:
"/mrstatic/css/30.5ed15c7e.chunk.css"
},
{
"revision"
:
"bcb23b865678f9e65d12"
,
"url"
:
"/mrstatic/css/myorders.3ae12dec.chunk.css"
},
{
"revision"
:
"deeaf6164c442e8cf2bb"
,
"url"
:
"/mrstatic/css/31.ecbb6f9a.chunk.css"
},
{
"revision"
:
"f05e6dba707ae1699a1d"
,
"url"
:
"/mrstatic/css/main.649a5c2d.chunk.css"
},
{
"revision"
:
"f5caca41afe2d4a2eb85"
,
"url"
:
"/mrstatic/css/togroup.49988cae.chunk.css"
},
{
"revision"
:
"1eb412596fb9bdce1266"
,
"url"
:
"/mrstatic/css/study.5e9927d1.chunk.css"
},
{
"revision"
:
"e6795a3dc4e414db9d5f"
,
"url"
:
"/mrstatic/css/33.03fe7b57.chunk.css"
},
{
"revision"
:
"74bde9fd476c8eb4d3f4"
,
"url"
:
"/mrstatic/css/coupons.de0ae9dc.chunk.css"
},
{
"revision"
:
"8d4fa98741a43b92d467"
,
"url"
:
"/mrstatic/css/aist-share.bef8c404.chunk.css"
},
{
"revision"
:
"f0cf90f514d5e6da0030"
,
"url"
:
"/mrstatic/css/ShopCart.3a4dbb7a.chunk.css"
},
{
"revision"
:
"7a83eae82a30deb3638a"
,
"url"
:
"/mrstatic/css/SearchResult.2649d43f.chunk.css"
},
{
"revision"
:
"fd8433a5044a99f024ac"
,
"url"
:
"/mrstatic/css/Preferential.cda7a495.chunk.css"
},
{
"revision"
:
"48bf7a978aee321aaf62"
,
"url"
:
"/mrstatic/css/PayOrder.e5315535.chunk.css"
},
{
"revision"
:
"6c8b5e269249316d8573"
,
"url"
:
"/mrstatic/css/Order.8bb031ea.chunk.css"
},
{
"revision"
:
"c909d0b78fa7f27cd2d7"
,
"url"
:
"/mrstatic/css/Examination.f2cc3163.chunk.css"
},
{
"revision"
:
"e82fbe8c3278f95eb101"
,
"url"
:
"/mrstatic/css/DrawDocument.2e7d81ca.chunk.css"
},
{
"revision"
:
"a999eb7686c310c7ecd7"
,
"url"
:
"/mrstatic/css/CourseList.c0829f24.chunk.css"
},
{
"revision"
:
"da4c5b9c52d373ead12b"
,
"url"
:
"/mrstatic/css/Classify.f2f19957.chunk.css"
},
{
"revision"
:
"c0588af28a992a0b90cf70fe26505455"
,
"url"
:
"/index.html"
}
];
\ No newline at end of file
src/components/my/index.js
View file @
e20373e0
...
...
@@ -42,6 +42,7 @@ class My extends PureComponent {
const
username
=
user
&&
user
.
data
&&
user
.
data
.
username
const
avatar
=
user
&&
user
.
data
&&
user
.
data
.
avatar
const
isVIP
=
user
&&
user
.
data
&&
user
.
data
.
isVIP
let
list
if
(
!
uid
)
{
list
=
<
List
className
=
"my-list"
>
...
...
src/store/userAction.js
View file @
e20373e0
...
...
@@ -24,11 +24,11 @@ const storeUser = (res, dispatch) => {
const
data
=
res
.
data
let
payload
if
(
data
.
errno
===
0
)
{
const
{
user_name
:
username
,
avatar_file
:
avatar
,
...
rest
}
=
data
.
data
.
user_info
const
{
user_name
:
username
,
avatar_file
:
avatar
,
is_vip
:
isVIP
,
...
rest
}
=
data
.
data
.
user_info
payload
=
{
hasError
:
false
,
msg
:
data
.
msg
,
data
:
{
username
,
avatar
,
...
rest
}
data
:
{
username
,
avatar
,
isVIP
,
...
rest
}
}
}
else
{
payload
=
{
...
...
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