Skip to content

Commit f6844ee

Browse files
committed
设置 保存配置 7 天
1 parent a1fc04a commit f6844ee

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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]);
169+
setCookie(key, vm.formData.options[key], 60 * 60 * 24 * 7);
170170
}
171171

172172
/**

0 commit comments

Comments
 (0)