Browse Source

采集盒问题

lipengtao 6 years ago
parent
commit
470df2fb17
1 changed files with 1 additions and 5 deletions
  1. 1 5
      src/views/baseInfoManage/boxesConfig/index.vue

+ 1 - 5
src/views/baseInfoManage/boxesConfig/index.vue

@ -100,7 +100,7 @@ export default {
100 100
    var server = (rule, value, callback) => {
101 101
      const that = this
102 102
      setTimeout(function() {
103
        if (value === '' || that.ruleForm2.serverId === '') {
103
        if (that.ruleForm2.server === '' || that.ruleForm2.serverId === '') {
104 104
          callback(new Error('请选择服务器编号'))
105 105
        } else {
106 106
          callback()
@ -341,10 +341,6 @@ export default {
341 341
      this.dialogTableVisible = true
342 342
    },
343 343
    querySearchAsync(queryString, cb) {
344
      if (queryString === '') {
345
        cb([])
346
        return
347
      }
348 344
      this.ruleForm2.serverId = ''
349 345
      clearTimeout(this.timeout)
350 346
      this.timeout = setTimeout(() => {