Comparing version 0.0.8 to 0.0.9
/* | ||
* only-state.js 0.0.8 | ||
* only-state.js 0.0.9 | ||
* author:webszy | ||
* date:2022/5/11 下午8:08:12 | ||
* date:2022/5/11 下午8:10:19 | ||
*/ | ||
@@ -268,3 +268,2 @@ import { reactive, computed, toRefs } from 'vue'; | ||
console.log('[onlyState warning] you must define a state'); | ||
return installStore; | ||
} | ||
@@ -284,2 +283,5 @@ if (isObject(getters) && Object.keys(getters).length > 0) { | ||
} | ||
else { | ||
console.log('[onlyState warning] why you do not need getters'); | ||
} | ||
return installStore; | ||
@@ -286,0 +288,0 @@ }; |
{ | ||
"name": "onlystate", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "A state and only state management library for Vue3", | ||
@@ -5,0 +5,0 @@ "main": "dist/only-state.js", |
@@ -24,3 +24,2 @@ // @ts-ignore | ||
console.log('[onlyState warning] you must define a state') | ||
return installStore | ||
} | ||
@@ -40,2 +39,4 @@ | ||
}); | ||
} else { | ||
console.log('[onlyState warning] why you do not need getters') | ||
} | ||
@@ -42,0 +43,0 @@ return installStore |
33157
704