Ver código fonte

fead:医生管理

lsw 9 meses atrás
pai
commit
4e15c87af4
2 arquivos alterados com 5 adições e 4 exclusões
  1. 2 1
      app/pages/follow/detail.vue
  2. 3 3
      app/pages/user/index.vue

+ 2 - 1
app/pages/follow/detail.vue

@@ -1,6 +1,6 @@
 <template>
 	<view class="main">
-		<view class="title">{{ item.title }}</view>
+		<view class="title">{{ item.templateName }}</view>
 		<u-divider text="开始"></u-divider>
 		<view class="item" v-for="(item, index) in item.op" :key="item.name">
 			<view class="mtt">
@@ -80,6 +80,7 @@ page {
 }
 .title {
 	text-align: center;
+	font-weight: bold;
 }
 .item {
 	.mtt {

+ 3 - 3
app/pages/user/index.vue

@@ -51,10 +51,10 @@ export default {
 		};
 	},
 	onShow() {
-/* 		 		this.user = {
-			token: 'eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6ImQ3YmZjZjVkLTgxZTgtNGJjMi04MjA1LTE5ZTY3NzdhNzEyMSJ9._pm56LMt6uOsjee2AlZOKdESEEj9axkz62-T74YsHeifH78cn2BouBDSCl-lDPpvOWmJOs1-CZS44oCUeBGlhw'
+		 		this.user = {
+			token: 'eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjMyZDkyOTYyLTBjNzQtNDJlOC05NzFhLWFkNWI1OTZlZTViYiJ9.pEPTm2QjTeorK22EnC8sqD1UhIRUUkIkfIaorvAH02vynrWwZXnLk4puHb3n-sru3-WuksQls-3pYaDKfiA_7A'
 		};
-		uni.setStorageSync('user', this.user); */
+		uni.setStorageSync('user', this.user);
 		if (this.hasLogin()) {
 			this.getUserInfo();
 		} else {