Browse Source

版本更新

Szx 2 years ago
parent
commit
9f1a3af880
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/Catalog/index.ux

+ 3 - 3
src/views/Catalog/index.ux

@@ -123,8 +123,8 @@ export default {
             color: '#999'
           }
         ],
-        success: function(data) {
-          if (data.index === 0) {
+        success: function (data) {
+          if (data.index == 0) {
             router.replace({
               uri: '/views/Reader',
               params: {
@@ -134,7 +134,7 @@ export default {
             })
           }
         },
-        cancel: function() {
+        cancel: function () {
           console.log('取消前往')
         }
       })