瀏覽代碼

:bug: assignment instead of arg

tags/0.9.0
J 4 年之前
父節點
當前提交
5f3883484d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      vue-theme/src/store/modules/artist.js

+ 1
- 1
vue-theme/src/store/modules/artist.js 查看文件

@@ -44,7 +44,7 @@ const _arrangeByAlpha = artistsList => {
44 44
         
45 45
         // The first artist you've seen in this batch
46 46
         if(i == 0) {
47
-            seen = alphabet.indexOf[firstCharaOfLastWord]
47
+            seen = alphabet.indexOf(firstCharaOfLastWord)
48 48
             console.log(alphabet[seen], seen)
49 49
             flatPacked.push({ slug: alphabet[seen], title: alphabet[seen], inbetween: true })
50 50
         }

Loading…
取消
儲存