1
0
Alex Swiontek 7 жил өмнө
parent
commit
a65d8c519f

+ 1 - 2
examples/counter-hot/store/getters.js

@@ -7,6 +7,5 @@ export const recentHistory = state => {
   const begin = end - limit < 0 ? 0 : end - limit
   return state.history
     .slice(begin, end)
-    .toString()
-    .replace(/,/g, ', ')
+    .join(', ')
 }