This commit is contained in:
2020-06-18 14:57:26 +08:00
parent df47e0d357
commit f0244f8077
106 changed files with 186 additions and 122 deletions

View File

@@ -112,6 +112,11 @@
console.log('success');
}
});
// 存储接口请求所需token
uni.setStorage({
key: 'token',
data: res.data.data.token,
});
// 注册返回参数
this.$refs.uToast.show({
title: res.message,
@@ -265,6 +270,7 @@
}
.labales {
color: #FFF;
border-bottom: 1px #fff solid;
margin-bottom: 90rpx;
height: 70rpx;

View File

@@ -96,11 +96,11 @@
}
});
// 注册返回参数
this.$refs.uToast.show({
title: res.message,
type: 'success',
url: '/pageA/topick/topick'
})
// this.$refs.uToast.show({
// title: res.message,
// type: 'success',
// url: '/pageA/topick/topick'
// })
}
if(res.errCode == 1){
this.$refs.uToast.show({

View File

@@ -13,7 +13,7 @@
<view :class="{'cur': rSelect.indexOf(index)!=-1}" v-for="(item,index) in tab_lables" :key="index" @click="tapClick(index)">{{item}}</view>
</view>
<!-- 提交按钮 -->
<view class="submites">{{submites}}</view>
<view class="submites" @click="toHomePage">{{submites}}</view>
</view>
</view>
</template>
@@ -54,6 +54,11 @@
} else {
this.rSelect.splice(this.rSelect.indexOf(index), 1); //取消
}
},
toHomePage() {
uni.switchTab({
url: '/pages/index/index'
});
}
}
};