Browse Source

排除词

wangshan 6 năm trước cách đây
mục cha
commit
66f8bf5e6d
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      src/web/staticres/dataExport/js/conditions_order.js

+ 4 - 1
src/web/staticres/dataExport/js/conditions_order.js

@@ -371,12 +371,15 @@ function addDelInputB(t,type) {
 var excludeArr = []
 var appendArr = []
 function addOtherInput(t,f) {
+	if($("#keyInput").val()==""){
+		return false;
+	}
   var temp = f ? '请输入附加词' : '请输入排除词'
   var input = document.createElement('input')
   input.className = 'sm'
   input.placeholder = temp
   input.maxLength = 20;
-  //console.log('--$(input)--', $(input))
+//  console.log('--$(input)--', $(input))
   if(f){
     var l = appendArr.length
     $(input).on('input',function () {