李志伟 2 years ago
parent
commit
01128415db
2 changed files with 3 additions and 3 deletions
  1. 2
    2
      config/dev.js
  2. 1
    1
      src/pages/InformationInfo/InfoImgaText.jsx

+ 2
- 2
config/dev.js View File

@@ -3,8 +3,8 @@ module.exports = {
3 3
     NODE_ENV: '"development"'
4 4
   },
5 5
   defineConstants: {
6
-    HOST: '"https://machine.njyunzhi.com"',
7
-    // HOST: '"http://192.168.89.25:7080"',
6
+    // HOST: '"https://machine.njyunzhi.com"',
7
+    HOST: '"http://192.168.89.25:7080"',
8 8
     OSS: '""',
9 9
     // VERSION: '"2.0.33"',
10 10
   },

+ 1
- 1
src/pages/InformationInfo/InfoImgaText.jsx View File

@@ -7,7 +7,7 @@ export default (props) => {
7 7
     <view className='cardext-box'>
8 8
       {
9 9
         item.contentType == 'image' ?
10
-          <Image key={item.extId} style={{ width: '100%' }} src={item.content} /> :
10
+          <Image key={item.extId} mode='widthFix' style={{ width: '100%' }} src={item.content} /> :
11 11
           <view style={{ textIndent: '2em' }} className='storezn'>{item.content}</view>
12 12
       }
13 13
     </view>