summaryrefslogtreecommitdiff
path: root/src/client/app/mobile/views/pages/home.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app/mobile/views/pages/home.vue')
-rw-r--r--src/client/app/mobile/views/pages/home.vue19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/client/app/mobile/views/pages/home.vue b/src/client/app/mobile/views/pages/home.vue
index 8d10d96c82..33579185e1 100644
--- a/src/client/app/mobile/views/pages/home.vue
+++ b/src/client/app/mobile/views/pages/home.vue
@@ -64,20 +64,12 @@ export default Vue.extend({
watch: {
src() {
this.showNav = false;
-
- this.$store.commit('device/setTl', {
- src: this.src,
- arg: this.list
- });
+ this.saveSrc();
},
list() {
this.showNav = false;
-
- this.$store.commit('device/setTl', {
- src: this.src,
- arg: this.list
- });
+ this.saveSrc();
},
showNav(v) {
@@ -115,6 +107,13 @@ export default Vue.extend({
(this as any).apis.post();
},
+ saveSrc() {
+ this.$store.commit('device/setTl', {
+ src: this.src,
+ arg: this.list
+ });
+ },
+
warp() {
}