Browse Source

代码规范

ZaiZai 2 years ago
parent
commit
023b1f91cf
2 changed files with 291 additions and 273 deletions
  1. 291 267
      src/views/file/collection.vue
  2. 0 6
      src/views/file/records.vue

File diff suppressed because it is too large
+ 291 - 267
src/views/file/collection.vue


+ 0 - 6
src/views/file/records.vue

@@ -1304,13 +1304,7 @@ const setFileNumber = () => {
         } else {
             numL = batchSet.value.numberEnd.length
         }
-
-        //检测前缀最后是否有-
         let prefix = batchSet.value.prefix
-        if (prefix.charAt(prefix.length - 1) !== '-') {
-            //没有就加上
-            prefix = prefix + '-'
-        }
 
         //遍历赋值
         let index = 0

Some files were not shown because too many files changed in this diff