zhuth 7 лет назад
Родитель
Сommit
21c036f50f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      frontend/saas-web/app/view/purchase/b2b/deviceQuery/DataList.js

+ 1 - 1
frontend/saas-web/app/view/purchase/b2b/deviceQuery/DataList.js

@@ -124,7 +124,7 @@ Ext.define('saas.view.purchase.b2b.deviceQuery.DataList', {
     getExtraParams: function(store, op, condition) {
         var obj = {
             type :'component',
-            keyword: condition.length > 0 ? condition[0].value : ' ',
+            keyword: condition.length > 0 ? (condition[0].value || ' ') : ' ',
             page: op._page,
             count: store.pageSize,
             filter: '',