cloud-web-corejs 1.0.54-dev.388 → 1.0.54-dev.389

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.54-dev.388",
4
+ "version": "1.0.54-dev.389",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -1,7 +1,12 @@
1
1
  <template>
2
2
  <div id="containt">
3
3
  <div class="filter-btns">
4
- <el-select class="f-btn" v-model="formData.dateRange" @change="handleSelectChange">
4
+ <el-select
5
+ class="f-btn"
6
+ v-model="formData.dateRange"
7
+ @change="handleSelectChange"
8
+ clearable
9
+ >
5
10
  <el-option :label="$t1('本日')" :value="1"></el-option>
6
11
  <el-option :label="$t1('本周')" :value="2"></el-option>
7
12
  <el-option :label="$t1('本月')" :value="3"></el-option>
@@ -387,6 +392,9 @@ export default {
387
392
  this.nodeList = [];
388
393
  },
389
394
  handleSelectChange() {
395
+ if (this.formData.dateRange === "") {
396
+ this.formData.dateRange = null;
397
+ }
390
398
  if (this.formData.stat === "") {
391
399
  this.formData.stat = null;
392
400
  }