Browse Source

优化车辆tab切换

dev-xx
马远东 4 months ago
parent
commit
aefee02f9e
  1. 4
      src/views/basicdata/vehicle/basicdataVehicle.vue

4
src/views/basicdata/vehicle/basicdataVehicle.vue

@ -156,7 +156,6 @@
<script setup lang="ts"> <script setup lang="ts">
import { ref, reactive, toRefs, computed, onMounted, nextTick, getCurrentInstance } from 'vue'; import { ref, reactive, toRefs, computed, onMounted, nextTick, getCurrentInstance } from 'vue';
import functions from '@/utils/functions.js';
import dayjs from 'dayjs'; import dayjs from 'dayjs';
import { mapGetters } from 'vuex'; import { mapGetters } from 'vuex';
/** 获取字典 */ /** 获取字典 */
@ -398,6 +397,9 @@ const searchChange = () => {
onLoad(); onLoad();
}; };
const tabchange=()=>{ const tabchange=()=>{
details.query = {};
details.page.current = 1;
handleClearTableQuery(details.columnList);
onLoad(); onLoad();
} }
/** 清空表单 */ /** 清空表单 */

Loading…
Cancel
Save