数据库字段使用 char 类型而出现的问题
Hoexhe opened this issue · 0 comments
Hoexhe commented
数据库:
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'
});
去除空字符即可正常