forked from drone/command-center-dashboard

shuishen
2025-04-19 600ab7a279a2ffc1a05e722bf18d4bfe0c1da1ea
src/components/CurrentTaskDetails/TaskDetailsRight.vue
@@ -37,6 +37,10 @@
   () => {
      list.value.forEach(item => {
         item.value = taskDetails?.value?.[item.field] || ''
         if (item.name === '任务频次') {
            const { rep_rule_type = '', rep_rule_val = '' } = taskDetails?.value || {}
            item.value = rep_rule_type + ' -- ' + rep_rule_val
         }
      })
   },
   {
@@ -44,8 +48,6 @@
      deep: true,
   }
)
</script>
<style scoped lang="scss">
@@ -57,6 +59,7 @@
   width: 297px;
   height: 1002px;
   background: rgba(31, 31, 31, 0.15);
   backdrop-filter: blur(0.5rem);
   border-radius: 0px 40px 40px 0px;
   display: flex;
   flex-direction: column;
@@ -107,6 +110,8 @@
         .itemValue {
            font-weight: bold;
            color: #ffffff;
            word-break: break-all;     /* 强制在任意字符断行 */
            white-space: normal;       /* 允许正常换行 */
         }
      }
   }