فهرست منبع

refactor(pptEasy): 更新组件引用并移除冗余条件检查

将pptEasy路由组件从pptEasy2更新为pptEasy3
移除BilibiliSearchDialog2中多余的导航点击条件检查
lsc 4 هفته پیش
والد
کامیت
0935d320d6
2فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 3 3
      src/components/pages/pptEasy/dialog/BilibiliSearchDialog2.vue
  2. 1 1
      src/router/index.js

+ 3 - 3
src/components/pages/pptEasy/dialog/BilibiliSearchDialog2.vue

@@ -271,9 +271,9 @@ export default {
     },
     // 切换排序方式
     navClick(value) {
-      if (this.navActive == value) {
-        return;
-      }
+      // if (this.navActive == value) {
+      //   return;
+      // }
       this.navActive = value;
       if (this.searchKeyword) {
         this.handleSearch();

+ 1 - 1
src/router/index.js

@@ -1466,7 +1466,7 @@ export default new Router({
   {
     path:"/pptEasy",
     name:"pptEasy",
-    component:pptEasy2,
+    component:pptEasy3,
     meta:{
       requireAuth:''//不需要鉴权
     }