File tree 2 files changed +30
-1
lines changed
2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ export default {
62
62
doSearch () {
63
63
this .helpToggled = false ;
64
64
let path = ' ' ;
65
- console .log (' this.searchperimeter' , this .searchPerimeter );
66
65
if (this .searchPerimeter === ' libris' || this .searchPerimeter === ' remote' ) {
67
66
path = ` /search/${ this .searchPerimeter } ?${ this .composeQuery ()} ` ;
68
67
} else if (this .searchTool === ' changes' ) {
@@ -262,6 +261,12 @@ export default {
262
261
this .resetSearchParam ();
263
262
}
264
263
},
264
+ searchTool (newVal , oldVal ) {
265
+ if (newVal !== oldVal && newVal === ' changes' ) {
266
+ this .clearInputs ();
267
+ this .doSearch ();
268
+ }
269
+ },
265
270
searchPerimeter (newVal , oldVal ) {
266
271
if (newVal !== oldVal) {
267
272
this .$nextTick (() => {
Original file line number Diff line number Diff line change
1
+ <script >
2
+ import Find from ' ./Find.vue' ;
3
+
4
+ export default {
5
+ name: ' ChangeNotes' ,
6
+ components: {
7
+ Find,
8
+ },
9
+ computed: {
10
+ },
11
+ methods: {
12
+ },
13
+ mounted () {
14
+ },
15
+ };
16
+ </script >
17
+
18
+ <template >
19
+ <find v-if =" $route.params.tool === 'changes'" ></find >
20
+ </template >
21
+
22
+ <style lang="less">
23
+
24
+ </style >
You can’t perform that action at this time.
0 commit comments