tremble 3 years ago
parent
commit
00b99eed97
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/components/Controls/Panel/Main.vue

+ 2 - 1
src/components/Controls/Panel/Main.vue

@@ -81,7 +81,8 @@ const currentCategory = ref({
   categoryName: "全部",
   categoryName: "全部",
 });
 });
 
 
-const currentM = browser.getURLParam("m")
+const currentM = computed(()=>(browser.getURLParam("m")))
+console.log(currentM.value);
 
 
 const isPlay = computed(() => {
 const isPlay = computed(() => {
   let status = store.getters["tour/isPlay"];
   let status = store.getters["tour/isPlay"];