李志伟 hace 2 años
padre
commit
5145e905ea

+ 2
- 2
config/dev.js Ver fichero

@@ -4,8 +4,8 @@ module.exports = {
4 4
   },
5 5
   defineConstants: {
6 6
     // HOST: '"http://192.168.89.25:7080"',
7
-    // HOST: '"http://192.168.89.147:7080"',
8
-    HOST: '"https://machine.njyunzhi.com"',
7
+    HOST: '"http://192.168.89.25:7080"',
8
+    // HOST: '"https://machine.njyunzhi.com"',
9 9
     // OSS: '"yz-shigongli.oss-accelerate.aliyuncs.com"',
10 10
     // VERSION: '"3.0.3_2021-12-23"',
11 11
   },

+ 2
- 1
project.config.json Ver fichero

@@ -39,7 +39,8 @@
39 39
         "minifyWXML": true,
40 40
         "showES6CompileOption": false,
41 41
         "useCompilerPlugins": false,
42
-        "ignoreUploadUnusedFiles": true,
42
+        "ignoreDevUnusedFiles": false,
43
+        "ignoreUploadUnusedFiles": false,
43 44
         "useStaticServer": true
44 45
     },
45 46
     "compileType": "miniprogram",

+ 0
- 1
src/pages/index/components/User/index.jsx Ver fichero

@@ -46,7 +46,6 @@ export default (props) => {
46 46
   }
47 47
   return (
48 48
     <ScrollView scrollY style={{ height: '100%' }}>
49
-      {/* <View className='personTip'>该账号归{person.userName}所属</View> */}
50 49
       <View className='userHead' onClick={handleAccount}>
51 50
         <Image src={userBgi} className='userBgi' />
52 51
         <View className='headcontent' >

+ 0
- 6
src/pages/userInfo/index.jsx Ver fichero

@@ -87,12 +87,6 @@ export default withLayout((props) => {
87 87
           <Image src={avatar} className='avatarImg' />
88 88
           <View className='change'>更换头像</View>
89 89
         </View>
90
-        {/* <View className='userCell'>
91
-          <View>用户名:</View>
92
-          <View style={{ display: 'flex', opacity: 0.5, alignItems: 'center', height: '54px' }}>
93
-            <Input type='text' value={person.userName} disabled className='userName' />
94
-          </View>
95
-        </View> */}
96 90
         <View className='userCell'>
97 91
           <View>姓名:</View>
98 92
           <View style={{ display: 'flex', alignItems: 'center', height: '54px' }}>