diff --git a/src/IndexFind.vue b/src/IndexFind.vue
index 605558f..4e76fee 100644
--- a/src/IndexFind.vue
+++ b/src/IndexFind.vue
@@ -21,10 +21,12 @@
>
-
-
-
{{text}}
-
+
+
+ {{text}}
+
@@ -40,10 +42,12 @@
>
-
-
-
{{text}}
-
+
+
+ {{text}}
+
diff --git a/src/components/IndexList.vue b/src/components/IndexList.vue
index ccb3961..ac71c3d 100644
--- a/src/components/IndexList.vue
+++ b/src/components/IndexList.vue
@@ -238,7 +238,9 @@ export default {
status: 1
}).then((res)=>{
if(res.data.code != 200){
- return ;
+ this.$router.push({
+ path:"/login"
+ })
}
if(this.islike){
this.like = parseInt(this.like) - 1
@@ -256,7 +258,9 @@ export default {
id:this.id
}).then((res)=>{
if(res.data.code != 200){
- return ;
+ this.$router.push({
+ path:"/login"
+ })
}
if(this.iscllect){
this.collect = parseInt(this.collect) - 1
diff --git a/src/components/indexFollow.vue b/src/components/indexFollow.vue
index 47a7ebf..e786259 100644
--- a/src/components/indexFollow.vue
+++ b/src/components/indexFollow.vue
@@ -130,7 +130,7 @@
}
}
> div:last-child {
- margin-left: 300px;
+ margin-left: 150px;
margin-right: 0;
}
}
@@ -206,7 +206,9 @@ export default {
status: 1
}).then((res)=>{
if(res.data.code != 200){
- return ;
+ this.$router.push({
+ path:"/login"
+ })
}
if(this.islike){
this.like = parseInt(this.like) - 1
@@ -224,7 +226,9 @@ export default {
id:this.sid
}).then((res)=>{
if(res.data.code != 200){
- return ;
+ this.$router.push({
+ path:"/login"
+ })
}
if(this.iscllect){
this.collect = parseInt(this.collect) - 1
diff --git a/src/components/indexFollow1.vue b/src/components/indexFollow1.vue
index c1a0305..8e19769 100644
--- a/src/components/indexFollow1.vue
+++ b/src/components/indexFollow1.vue
@@ -264,7 +264,9 @@ export default {
status: 1
}).then((res)=>{
if(res.data.code != 200){
- return ;
+ this.$router.push({
+ path:"/login"
+ })
}
if(this.islike){
this.like = parseInt(this.like) - 1
@@ -282,7 +284,9 @@ export default {
id:this.$route.query.id
}).then((res)=>{
if(res.data.code != 200){
- return ;
+ this.$router.push({
+ path:"/login"
+ })
}
if(this.iscllect){
this.collect = parseInt(this.collect) - 1
diff --git a/src/components/indexfindall.vue b/src/components/indexfindall.vue
index 5a194de..e97b095 100644
--- a/src/components/indexfindall.vue
+++ b/src/components/indexfindall.vue
@@ -73,8 +73,10 @@ export default {
status: 1
}).then((res)=>{
if(res.data.code != 200){
- return ;
- }
+ this.$router.push({
+ path:"/login"
+ })
+}
if(this.islike){
this.like = parseInt(this.like) - 1
}else{
@@ -91,7 +93,9 @@ export default {
id:this.id
}).then((res)=>{
if(res.data.code != 200){
- return ;
+ this.$router.push({
+ path:"/login"
+ })
}
if(this.iscllect){
this.collect = parseInt(this.collect) - 1
diff --git a/src/index.vue b/src/index.vue
index 1c046b3..f83578b 100644
--- a/src/index.vue
+++ b/src/index.vue
@@ -21,9 +21,11 @@
>
-
-
- {{text}}
+
+
+ {{text}}