Clean up dead code, typos, and minor style issues
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user