Commit 3100b704 by xuzhenghua

test

parent d617a11f
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){function r(r){for(var n,a,d=r[0],i=r[1],c=r[2],u=0,l=[];u<d.length;u++)a=d[u],o[a]&&l.push(o[a][0]),o[a]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(s&&s(r);l.length;)l.shift()();return f.push.apply(f,c||[]),t()}function t(){for(var e,r=0;r<f.length;r++){for(var t=f[r],n=!0,a=1;a<t.length;a++){var i=t[a];0!==o[i]&&(n=!1)}n&&(f.splice(r--,1),e=d(d.s=t[0]))}return e}var n={},a={19:0},o={19:0},f=[];function d(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,d),t.l=!0,t.exports}d.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[e]&&{1:1,2:1,3:1,4:1,5:1,7:1,9:1,10:1,11:1,12:1,13:1,14:1,15:1,17:1,18:1,20:1,21:1,22:1,23:1,24:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="mrstatic/css/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"417c8635",2:"fb4bedde",3:"7b6f3dd7",4:"aeb3f822",5:"7bb0622b",6:"31d6cfe0",7:"c0945477",8:"31d6cfe0",9:"7eb7d317",10:"0c91fa43",11:"00f99b61",12:"92ab48a3",13:"a97e13d0",14:"b0b82ef8",15:"944e7ef6",17:"67814bde",18:"19e06a3f",20:"5716d9b3",21:"76774ba4",22:"e132441c",23:"f08bc5f3",24:"7340509f",26:"31d6cfe0",27:"c76b300d",28:"bff100af",29:"820320a6",30:"bf839917",31:"35e22f8c",32:"8046fb41",33:"455d2187"}[e]+".chunk.css",o=d.p+n,f=document.getElementsByTagName("link"),i=0;i<f.length;i++){var c=(s=f[i]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(c===n||c===o))return r()}var u=document.getElementsByTagName("style");for(i=0;i<u.length;i++){var s;if((c=(s=u[i]).getAttribute("data-href"))===n||c===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var n=r&&r.target&&r.target.src||o,f=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");f.request=n,delete a[e],l.parentNode.removeChild(l),t(f)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var f,i=document.createElement("script");i.charset="utf-8",i.timeout=120,d.nc&&i.setAttribute("nonce",d.nc),i.src=function(e){return d.p+"mrstatic/js/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[e]||e)+"."+{0:"3cda4082",1:"84beafdd",2:"f6e52a7a",3:"f53b6e7e",4:"8e3013d0",5:"2039e274",6:"15632ce7",7:"606dbaf5",8:"41a9af39",9:"214f80c5",10:"84e158e3",11:"62d4f19c",12:"7f794221",13:"df8afc5d",14:"eeeb65d4",15:"e5d85a4d",17:"b74da13c",18:"9773606c",20:"6dce5d97",21:"4e9b1557",22:"8df51397",23:"c68af5f9",24:"181ffc79",26:"56aeff83",27:"b53d927f",28:"8ed1b5c2",29:"b7cd4e05",30:"168931af",31:"97a8b478",32:"7ab67b82",33:"ad3f6db9"}[e]+".chunk.js"}(e),f=function(r){i.onerror=i.onload=null,clearTimeout(c);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,f=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");f.type=n,f.request=a,t[1](f)}o[e]=void 0}};var c=setTimeout(function(){f({type:"timeout",target:i})},12e4);i.onerror=i.onload=f,document.head.appendChild(i)}return Promise.all(r)},d.m=e,d.c=n,d.d=function(e,r,t){d.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},d.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(e,r){if(1&r&&(e=d(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(d.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)d.d(t,n,function(r){return e[r]}.bind(null,n));return t},d.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(r,"a",r),r},d.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},d.p="/",d.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],c=i.push.bind(i);i.push=r,i=i.slice();for(var u=0;u<i.length;u++)r(i[u]);var s=c;t()}([]);
//# sourceMappingURL=runtime~main.bab01b4f.js.map
\ No newline at end of file
!function(e){function r(r){for(var n,a,c=r[0],d=r[1],i=r[2],u=0,l=[];u<c.length;u++)a=c[u],o[a]&&l.push(o[a][0]),o[a]=0;for(n in d)Object.prototype.hasOwnProperty.call(d,n)&&(e[n]=d[n]);for(s&&s(r);l.length;)l.shift()();return f.push.apply(f,i||[]),t()}function t(){for(var e,r=0;r<f.length;r++){for(var t=f[r],n=!0,a=1;a<t.length;a++){var d=t[a];0!==o[d]&&(n=!1)}n&&(f.splice(r--,1),e=c(c.s=t[0]))}return e}var n={},a={19:0},o={19:0},f=[];function c(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[e]&&{1:1,2:1,3:1,4:1,5:1,7:1,9:1,10:1,11:1,12:1,13:1,14:1,15:1,17:1,18:1,20:1,21:1,22:1,23:1,24:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="mrstatic/css/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"417c8635",2:"fb4bedde",3:"7b6f3dd7",4:"aeb3f822",5:"7bb0622b",6:"31d6cfe0",7:"c0945477",8:"31d6cfe0",9:"7eb7d317",10:"0c91fa43",11:"00f99b61",12:"92ab48a3",13:"a97e13d0",14:"b0b82ef8",15:"944e7ef6",17:"67814bde",18:"19e06a3f",20:"5716d9b3",21:"76774ba4",22:"e132441c",23:"f08bc5f3",24:"7340509f",26:"31d6cfe0",27:"c76b300d",28:"bff100af",29:"820320a6",30:"bf839917",31:"35e22f8c",32:"8046fb41",33:"455d2187"}[e]+".chunk.css",o=c.p+n,f=document.getElementsByTagName("link"),d=0;d<f.length;d++){var i=(s=f[d]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(i===n||i===o))return r()}var u=document.getElementsByTagName("style");for(d=0;d<u.length;d++){var s;if((i=(s=u[d]).getAttribute("data-href"))===n||i===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var n=r&&r.target&&r.target.src||o,f=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");f.request=n,delete a[e],l.parentNode.removeChild(l),t(f)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var f,d=document.createElement("script");d.charset="utf-8",d.timeout=120,c.nc&&d.setAttribute("nonce",c.nc),d.src=function(e){return c.p+"mrstatic/js/"+({1:"BargainMiddlePage",2:"Classify",3:"CourseList",4:"DrawDocument",5:"Examination",6:"MyEdit",7:"Order",8:"Orderinfo",9:"PayOrder",10:"Preferential",11:"SearchResult",12:"ShopCart",13:"aist-share",14:"coupons",15:"detail",17:"myorders",18:"purchased",20:"search",21:"shareposter",22:"study",23:"togroup",24:"video"}[e]||e)+"."+{0:"3cda4082",1:"84beafdd",2:"f6e52a7a",3:"f53b6e7e",4:"8e3013d0",5:"2039e274",6:"15632ce7",7:"606dbaf5",8:"41a9af39",9:"214f80c5",10:"84e158e3",11:"62d4f19c",12:"7f794221",13:"df8afc5d",14:"eeeb65d4",15:"bbaf6c99",17:"b74da13c",18:"9773606c",20:"6dce5d97",21:"4e9b1557",22:"8df51397",23:"c68af5f9",24:"181ffc79",26:"56aeff83",27:"b53d927f",28:"8ed1b5c2",29:"b7cd4e05",30:"168931af",31:"97a8b478",32:"7ab67b82",33:"ad3f6db9"}[e]+".chunk.js"}(e),f=function(r){d.onerror=d.onload=null,clearTimeout(i);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,f=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");f.type=n,f.request=a,t[1](f)}o[e]=void 0}};var i=setTimeout(function(){f({type:"timeout",target:d})},12e4);d.onerror=d.onload=f,document.head.appendChild(d)}return Promise.all(r)},c.m=e,c.c=n,c.d=function(e,r,t){c.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,r){if(1&r&&(e=c(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(c.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)c.d(t,n,function(r){return e[r]}.bind(null,n));return t},c.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(r,"a",r),r},c.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},c.p="/",c.oe=function(e){throw console.error(e),e};var d=window.webpackJsonp=window.webpackJsonp||[],i=d.push.bind(d);d.push=r,d=d.slice();for(var u=0;u<d.length;u++)r(d[u]);var s=i;t()}([]);
//# sourceMappingURL=runtime~main.fa1594b3.js.map
\ No newline at end of file
......@@ -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">
......
......@@ -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 = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment