2 Commits

View File

@@ -9,6 +9,7 @@
</div>
<div class="flow-table-list">
<BaseTable
v-if="flowType"
listTitle="仿真报告模板"
v-model:viewType="viewType"
showIndex
@@ -193,7 +194,7 @@
</template>
<script setup lang="ts">
import { computed, h, reactive, ref } from 'vue';
import { computed, h, nextTick, reactive, ref } from 'vue';
import BaseTable from '@/components/common/table/baseTable.vue';
import { useDict } from '@/utils/useDict';
import addDialog from './components/addDialog.vue';
@@ -496,7 +497,12 @@ const upgradeFlowFun = (flow: any) => {
};
const tabChangeFun = (val: any) => {
const type = flowType.value;
flowType.value = '';
setPageStorage('flowType', val);
nextTick(() => {
flowType.value = type;
});
};
</script>