flat:AI+
This commit is contained in:
17
components/matchingDegree/matchingDegree.vue
Normal file
17
components/matchingDegree/matchingDegree.vue
Normal file
@@ -0,0 +1,17 @@
|
||||
<template>
|
||||
<view>{{ matchingText }}</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { inject, computed } from 'vue';
|
||||
const { job } = defineProps(['job']);
|
||||
const { similarityJobs, throttle } = inject('globalFunction');
|
||||
|
||||
const matchingText = computed(() => {
|
||||
if (!job) return '';
|
||||
const matching = similarityJobs.calculationMatchingDegree(job);
|
||||
return matching ? '匹配度 ' + matching.overallMatch : '';
|
||||
});
|
||||
</script>
|
||||
|
||||
<style></style>
|
Reference in New Issue
Block a user