Browse Source

Signed-off-by: yukangzhe <382985154@qq.com>

yukangzhe 3 years ago
parent
commit
9a2a7e350c
2 changed files with 2 additions and 1 deletions
  1. 1 0
      pages/editMyself/editMyself.js
  2. 1 1
      pages/editMyself/editMyself.wxml

+ 1 - 0
pages/editMyself/editMyself.js

@@ -11,6 +11,7 @@ Page({
     index: 0,
     index: 0,
     array:['未知','男','女'],
     array:['未知','男','女'],
     name: '',
     name: '',
+    orgName: wx.getStorageSync('student').orgName,
     src: ''
     src: ''
   },
   },
 
 

+ 1 - 1
pages/editMyself/editMyself.wxml

@@ -17,6 +17,6 @@
         </picker>
         </picker>
     </view>
     </view>
     <view class="title">校区</view>
     <view class="title">校区</view>
-    <view class="school-name">智慧汉阳校区</view>
+    <view class="school-name">{{orgName}}</view>
   </view>
   </view>
 </view>
 </view>