Clean up dead code, typos, and minor style issues

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-09 14:00:31 +08:00
parent 932275e4d4
commit 19a39bbbff
5 changed files with 10 additions and 13 deletions

View File

@@ -2,7 +2,7 @@
<ul class="space-y-2" id="cyp-conformance-result-check">
<li
class="flex justify-start items-center pr-4"
v-for="(act, index) in datadata"
v-for="(act, index) in displayData"
:key="index"
:title="act"
>
@@ -34,21 +34,21 @@ import emitter from "@/utils/emitter";
const props = defineProps(["data", "select"]);
const datadata = ref(props.select);
const displayData = ref(props.select);
watch(
() => props.data,
(newValue) => {
datadata.value = newValue;
displayData.value = newValue;
},
);
watch(
() => props.select,
(newValue) => {
datadata.value = newValue;
displayData.value = newValue;
},
);
emitter.on("reset", (val) => (datadata.value = val));
emitter.on("reset", (val) => (displayData.value = val));
</script>