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,8 +232,8 @@ var gb_common = (function () {
232 data.push({ 232 data.push({
233 value: name, 233 value: name,
234 code: code, 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 init_autocom_pinyin(element, data); 239 init_autocom_pinyin(element, data);
@@ -271,7 +271,7 @@ var gb_common = (function () { @@ -271,7 +271,7 @@ var gb_common = (function () {
271 minLength: 1, 271 minLength: 1,
272 delay: 50, 272 delay: 50,
273 source: function (release) { 273 source: function (release) {
274 - var q = $('input', element).val().toUpperCase(), 274 + var q = $('input', element).val().toLocaleLowerCase(),
275 rs = [], 275 rs = [],
276 count = 0; 276 count = 0;
277 277
@@ -295,7 +295,7 @@ var gb_common = (function () { @@ -295,7 +295,7 @@ var gb_common = (function () {
295 minLength: 1, 295 minLength: 1,
296 delay: 50, 296 delay: 50,
297 source: function (release) { 297 source: function (release) {
298 - var q = $('input', element).val().toUpperCase(), 298 + var q = $('input', element).val().toLocaleLowerCase(),
299 rs = [], 299 rs = [],
300 count = 0; 300 count = 0;
301 301