Commit e509439b316ef5b3e1109807814e56e296366812

Authored by 潘钊
1 parent 1219bdf8

拼音全部用小写

src/main/resources/static/real_control_v2/js/common.js
... ... @@ -232,8 +232,8 @@ var gb_common = (function () {
232 232 data.push({
233 233 value: name,
234 234 code: code,
235   - fullChars: pinyin.getFullChars(name).toUpperCase(),
236   - camelChars: pinyin.getCamelChars(name)
  235 + fullChars: pinyin.getFullChars(name).toLocaleLowerCase(),
  236 + camelChars: pinyin.getCamelChars(name).toLocaleLowerCase()
237 237 });
238 238 }
239 239 init_autocom_pinyin(element, data);
... ... @@ -271,7 +271,7 @@ var gb_common = (function () {
271 271 minLength: 1,
272 272 delay: 50,
273 273 source: function (release) {
274   - var q = $('input', element).val().toUpperCase(),
  274 + var q = $('input', element).val().toLocaleLowerCase(),
275 275 rs = [],
276 276 count = 0;
277 277  
... ... @@ -295,7 +295,7 @@ var gb_common = (function () {
295 295 minLength: 1,
296 296 delay: 50,
297 297 source: function (release) {
298   - var q = $('input', element).val().toUpperCase(),
  298 + var q = $('input', element).val().toLocaleLowerCase(),
299 299 rs = [],
300 300 count = 0;
301 301  
... ...