Compare commits

..

No commits in common. 'a89ea2343271cac1458c049668ba8e0914926773' and '5230ab409e088d67a336e2b34b6a6952590128f7' have entirely different histories.

  1. 10
      jeecgboot-vue3/src/views/demo/main-home/components/instrumentSharing/index.vue

@ -4,8 +4,8 @@
<div class="item"> <div class="item">
<div class="left">仪器类别</div> <div class="left">仪器类别</div>
<div class="right"> <div class="right">
<div :class=" allIndex === 1 ? 'avtive' : ''" @click="searchByKeywords(0)">通用</div> <div>通用</div>
<div :class=" allIndex === 2 ? 'avtive' : ''" @click="searchByKeywords(1)">专用</div> <div>专用</div>
</div> </div>
</div> </div>
<div class="item"> <div class="item">
@ -181,12 +181,6 @@
}, },
}); });
} }
const allIndex = ref(0)
const searchByKeywords = (type) => {
allIndex.value = type + 1
page.value.type = type;
getindexcompEvent();
}
</script> </script>
<style scoped lang="less"> <style scoped lang="less">

Loading…
Cancel
Save