@@ -96,3 +96,4 @@ build/Release
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
node_modules
+yarn.lock
@@ -125,7 +125,7 @@ export default {
methods: {
async getDetail() {
let res = await http.get(`/api/user/getUserInfo?id=${this.$route.params.id}&page=1&size=10`)
- console.log(res.data)
+ res.data.has_follow=parseInt(res.data.has_follow);
if(res) {
this.idInfo = res.data
}