src/views/hazardousChemicals/electronicWarehouse/index.vue
@@ -12,7 +12,7 @@ </template> <script setup> import {onMounted, reactive, ref} from "vue"; import {onMounted, onUnmounted, reactive, ref} from "vue"; import proTable from './components/productTable.vue' import rawTable from './components/rawTable.vue' import Cookies from "js-cookie"; @@ -36,6 +36,10 @@ }else{ data.activeName = showFinishPro.value ? 'finishPro' : 'rawMaterial' } }) onUnmounted(()=>{ Cookies.remove('type') }) const clickTab = (tab,event) =>{ console.log('tab',data.activeName)