Conformance: feature task clear but after apply need to trued in Activity Selector.

This commit is contained in:
chiayin
2023-08-07 16:25:25 +08:00
parent 19da6195ec
commit b84fe38609
5 changed files with 62 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
<template>
<ul>
<li class="flex justify-start items-center py-1 pr-4" v-for="(act, index) in timeResultData" :key="index + act">
<li class="flex justify-start items-center py-1 pr-4" v-for="(act, index) in datadata" :key="index + act">
<span class="material-symbols-outlined disc text-sm align-middle mr-1">fiber_manual_record</span>
<span class="mr-2 block w-12">{{ act.category }}</span>
<span class="px-2 py-1 border border-neutral-500 w-full whitespace-nowrap break-keep text-ellipsis overflow-hidden block">{{ act.task }}</span>
@@ -10,6 +10,19 @@
<script>
export default {
name: 'ResultDot',
props:['timeResultData'],
props:['timeResultData', 'select'],
data() {
return {
datadata: null,
}
},
watch: {
timeResultData: function(newValue) {
this.datadata = newValue;
}
},
created() {
this.datadata = this.select;
},
}
</script>