Skip to content

Commit dac7d20

Browse files
authored
修复bug
部分浏览器异常
1 parent 94a424a commit dac7d20

File tree

1 file changed

+2
-2
lines changed
  • generator-web/src/main/resources/statics/js

1 file changed

+2
-2
lines changed

generator-web/src/main/resources/statics/js/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ function setAllCookie() {
166166
}
167167

168168
function setOneCookie(key) {
169-
setCookie(key, vm.formData.options[key], 60 * 60 * 24 * 7);
169+
setCookie(key, vm.formData.options[key]);
170170
}
171171

172172
/**
@@ -192,4 +192,4 @@ function loadOneCookie(key) {
192192
*/
193193
function list_key_need_load() {
194194
return ["authorName","packageName","returnUtilSuccess","returnUtilFailure","ignorePrefix","tinyintTransType","timeTransType"];
195-
}
195+
}

0 commit comments

Comments
 (0)