wangcz 7 سال پیش
والد
کامیت
ba720c8a38
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      store/product/kind.js

+ 1 - 1
store/product/kind.js

@@ -47,7 +47,7 @@ export const mutations = {
     }
   },
   GET_KIND_SUCCESS (state, action) {
-    if (action.id === undefined) {
+    if (!action.id) {
       state.kinds.fetching = false
       action.result.forEach(kind => {
         kind.fetching = false