|
@@ -1165,7 +1165,8 @@ $(document).ready(() => {
|
|
|
$('#list-input').on('blur', function () {
|
|
|
const select = parseInt($('#select-list').val());
|
|
|
const value = _.trim($(this).val());
|
|
|
- const valueList = _.slice(_.without(_.uniq(_.replace(value, /\t/g, ' ').split(' ')), ''), 0, 10);
|
|
|
+ console.log(value);
|
|
|
+ const valueList = _.slice(_.without(_.uniq(_.replace(_.replace(value, /\'|\"/g, ''), /\t/g, ' ').split(' ')), ''), 0, 10);
|
|
|
console.log(valueList);
|
|
|
// 判断是否存在多个分词,以换行或空格分隔,多个则显示左侧菜单
|
|
|
if (value !== '' && valueList.length > 1) {
|