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

数据库字段使用 char 类型而出现的问题 #24

Open
Hoexhe opened this issue May 9, 2020 · 0 comments
Open

数据库字段使用 char 类型而出现的问题 #24

Hoexhe opened this issue May 9, 2020 · 0 comments

Comments

@Hoexhe
Copy link

Hoexhe commented May 9, 2020

数据库:

PostgreSQL 9.6.8 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18), 64-bit

char 会输出空字符串, 就像如下

$("").distpicker({
  province: '450000        ', // 出现空字符
  city: '450100',
  district: '450107'
});

去除空字符即可正常

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

1 participant