Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

异步加载重新生成分页后,点击页数还是跟首次加载一样 #12

Open
lixianghong66 opened this issue Jun 20, 2016 · 5 comments

Comments

@lixianghong66
Copy link

异步加载重新生成分页后,点击任何一个页码,分页就返回初始状态了

@cdzhoubin
Copy link

@Thlq
Copy link

Thlq commented Dec 6, 2016

我的也是

@leibnizi
Copy link

怎么没有内容输入,内容放哪儿啊?

@allce231
Copy link

allce231 commented Sep 10, 2017

//不刷新页面直接手动调用选中某一页码
selectPage : function(n){
this._config['pno'] = n;
this._config['total'] = this.total; //debug by hanson 2017/9/10
this.generPageHtml(this._config,true);
},

修改原代码找到selectPage
加上:this._config['total'] = this.total;
this.generPageHtml(this._config,true); true去掉
别问我是谁 我是雷锋

@aYIfseec
Copy link

generPageHtml : function(config,enforceInit){
this.init(config);//直接去掉了是否需要init的判断
...
}

.......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants