Skip to content

Commit 976a84c

Browse files
committed
上午加了个功能,引入了个严重bug,暂时回退。。。
1 parent b59240d commit 976a84c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/global-assign-hook-component/plugins/string-put-to-db-plugins.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
function stringPutToDB(name, value, type) {
1515

1616
// 不止是string
17-
if (!value) {
17+
if (!value || typeof value !== "string") {
1818
return;
1919
}
2020

0 commit comments

Comments
 (0)