Browse Source

bugbugbug

任一存 3 years ago
parent
commit
a7072ad21f
4 changed files with 14 additions and 16 deletions
  1. 2 2
      web/src/Help.vue
  2. 1 1
      web/src/config.js
  3. 5 4
      web/src/views/Exhibitions/info.vue
  4. 6 9
      web/src/views/Publications/index.vue

+ 2 - 2
web/src/Help.vue

@@ -227,8 +227,8 @@
               <tr>
                 <th tabindex="0">Open the link:</th>
                 <td tabindex="0">(Enter)</td>
-                <th tabindex="0" />
-                <td tabindex="0" />
+                <th />
+                <td />
               </tr>
             </table>
           </section>

+ 1 - 1
web/src/config.js

@@ -9,7 +9,7 @@ switch (process.env.NODE_ENV) {
     break;
 }
 
-const version = 'v0523.1916'
+const version = 'v0524.1823'
 
 module.exports = {
   publicPath,

+ 5 - 4
web/src/views/Exhibitions/info.vue

@@ -57,14 +57,15 @@
         >
           Exhibitions>
         </Router-link>
-        <i
-          @click="backExh(topTxt)"
-          @keydown.enter.passive="backExh(topTxt)"
+        <Router-link
+          to=""
+          replace
           tabindex="0"
           :aria-description="`${topTxt} Exhibitions`"
+          @click.native.prevent="backExh(topTxt)"
         >
           {{ topTxt }} Exhibitions>
-        </i>
+        </Router-link>
       </div>
     </div>
     <!-- 内容-->

+ 6 - 9
web/src/views/Publications/index.vue

@@ -34,15 +34,15 @@
       <span class="pos1" tabindex="0">Your Position:&nbsp;</span>
       <Router-link replace to="/Layout/Home" tabindex="0" aria-description="Home">Home></Router-link>
       <Router-link replace to="/Layout/Publications/1" tabindex="0" aria-description="Publications">Publications></Router-link>
-      <span class="jump"
-        @click="backUrl"
-        @keydown.enter.passive="backUrl"
+      <Router-link
+        replace
+        to=""
         tabindex="0"
-        aria-label="Link"
         :aria-description="$route.meta.nameAll"
+        @click.native.prevent="backUrl"
       >
-        {{ $route.meta.nameAll }}>
-      </span>
+        {{$route.meta.nameAll}}
+      </Router-link>
     </div>
     <!-- 二级嵌套路由 -->
     <Router-view />
@@ -189,9 +189,6 @@ export default {
     .pos1 {
       color: #c20e11;
     }
-    .jump {
-      cursor: pointer;
-    }
   }
 }
 </style>