diff --git a/web_src/js/components/images/Images.vue b/web_src/js/components/images/Images.vue
index ce1f6c7f0..780cc4bfa 100644
--- a/web_src/js/components/images/Images.vue
+++ b/web_src/js/components/images/Images.vue
@@ -692,20 +692,6 @@ export default {
},
},
watch:{
- search(val){
- if(this.activeName=='first'){
- this.paramsPublic.q = val
- this.getImageListPublic()
- }
- if(this.activeName=='second'){
- this.paramsCustom.q = val
- this.getImageListCustom()
- }
- if(this.activeName=='third'){
- this.paramsStar.q = val
- this.getImageListStar()
- }
- },
checked(val){
this.paramsPublic.page = 1
this.paramsPublic.recommend = val
diff --git a/web_src/js/components/images/adminImages.vue b/web_src/js/components/images/adminImages.vue
index e0add0602..d447bddad 100644
--- a/web_src/js/components/images/adminImages.vue
+++ b/web_src/js/components/images/adminImages.vue
@@ -326,11 +326,8 @@ export default {
},
},
watch:{
- search(val){
- this.paramsCustom.q = val
- this.getImageListCustom()
- },
checked(val){
+ this.paramsPublic.page = 1
this.paramsCustom.recommend = val
this.getImageListCustom()
}
diff --git a/web_src/js/components/images/selectImages.vue b/web_src/js/components/images/selectImages.vue
index 5501b4729..3e96f7e19 100644
--- a/web_src/js/components/images/selectImages.vue
+++ b/web_src/js/components/images/selectImages.vue
@@ -14,7 +14,7 @@
>
-
+
@@ -278,27 +278,13 @@ export default {
},
selectImages(place){
+ console.log("================")
this.imageAddress = place
this.dialogVisible = false
},
},
watch:{
- search(val){
- if(this.activeName=='first'){
- this.paramsPublic.q = val
- this.getImageListPublic()
- }
- if(this.activeName=='second'){
- this.paramsCustom.q = val
- this.getImageListCustom()
- }
- if(this.activeName=='third'){
- this.paramsStar.q = val
- this.getImageListStar()
- }
- }
-
},
mounted() {
this.getImageListPublic()