34 lines
849 B
Vue
34 lines
849 B
Vue
<template>
|
|
<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" :key="index">
|
|
<span class="material-symbols-outlined text-primary mr-2">
|
|
check_circle
|
|
</span>
|
|
<p class="px-2 py-1 border border-neutral-500 w-full whitespace-nowrap break-keep text-ellipsis overflow-hidden">{{ act }}</p>
|
|
</li>
|
|
</ul>
|
|
</template>
|
|
<script>
|
|
export default {
|
|
name: 'ResultCheck',
|
|
props:['data', 'select'],
|
|
data() {
|
|
return {
|
|
datadata: null,
|
|
}
|
|
},
|
|
watch: {
|
|
data: function(newValue) {
|
|
this.datadata = newValue;
|
|
},
|
|
select: function(newValue) {
|
|
this.datadata = newValue;
|
|
}
|
|
},
|
|
created() {
|
|
this.datadata = this.select;
|
|
this.$emitter.on('reset', data => this.datadata = data);
|
|
},
|
|
}
|
|
</script>
|