diff --git a/func/setupDefaults.js b/func/setupDefaults.js index 2d92257..dbaa180 100644 --- a/func/setupDefaults.js +++ b/func/setupDefaults.js @@ -1,6 +1,9 @@ 'use strict' var setupDefaults = { + cookies: { + path: '/' + }, treeOptions: { parentKey: 'parentId', key: 'id', diff --git a/package.json b/package.json index 63f24ea..370e963 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xe-utils", - "version": "3.3.3", + "version": "3.4.0", "description": "JavaScript 函数库、工具类", "main": "index.js", "unpkg": "dist/xe-utils.umd.min.js",