瀏覽代碼

采集盒问题

lipengtao 6 年之前
父節點
當前提交
470df2fb17
共有 1 個文件被更改,包括 1 次插入5 次删除
  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(() => {