文件名称:javascript Ext JS 状态默认存储时间
文件大小:21KB
文件格式:PDF
更新时间:2024-01-02 06:22:13
AS asc c
代码如下:Ext.state.CookieProvider = function(config){ Ext.state.CookieProvider.superclass.constructor.call(this); this.path = “/”; this.expires = new Date(new Date().getTime()+(1000*60*60*24*7)); //7 days this.domain = null; this.secure = false; Ext.apply(this, config); this.state = this.readCookies();