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

请问大佬,第二次加载的时候货出现id not render !!!是什么情况啊? #30

Open
samulle opened this issue Mar 31, 2019 · 1 comment

Comments

@samulle
Copy link

samulle commented Mar 31, 2019

formSelects.config('parentMenu_select', {
// 转换数据格式
beforeSuccess: function(id, url, searchVal, result){
//我要把数据外层的code, msg, data去掉
result = result.data;
//我要反转name
covertData(result);
//然后返回数据
return result;
}
}).data('parentMenu_select', 'server', {
url: setter.requestUrl+'menu/menuTree?token='+layui.data(setter.tableName)[setter.request.tokenName],
response: {
statusCode: 200,
}
});

第二次打开界面的时候会出现
image

@cuishuang
Copy link

你应该是在html写死了这个下拉搜索的内容,实际没有用formselect,所以会报这个warning

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

2 participants