Authored by zhangxiaoru

shopbanner

@@ -32,9 +32,9 @@ const shopNav = () => { @@ -32,9 +32,9 @@ const shopNav = () => {
32 return api.get('', { 32 return api.get('', {
33 method: 'app.shops.promoteTabNameList' 33 method: 'app.shops.promoteTabNameList'
34 }).then((result) => { 34 }).then((result) => {
35 - if(result && result.code === 200) { 35 + if (result && result.code === 200) {
36 return result.data; 36 return result.data;
37 - } 37 + }
38 }); 38 });
39 }; 39 };
40 40
@@ -44,9 +44,9 @@ const banner = () => { @@ -44,9 +44,9 @@ const banner = () => {
44 }, { 44 }, {
45 cache: true 45 cache: true
46 }).then((result) => { 46 }).then((result) => {
47 - if(result && result.code === 200) {  
48 - return result.data[0];  
49 - } 47 + if (result && result.code === 200) {
  48 + return result.data[0];
  49 + }
50 }); 50 });
51 }; 51 };
52 52