Parcourir la source

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

yukangzhe il y a 3 ans
Parent
commit
9a2a7e350c
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  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,
     array:['未知','男','女'],
     name: '',
+    orgName: wx.getStorageSync('student').orgName,
     src: ''
   },
 

+ 1 - 1
pages/editMyself/editMyself.wxml

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