无人机管理后台前端(已迁走)
rain
2025-05-06 e1afd6281a8cccd1484fb03cccee3985f98777d4
src/views/algorithmRepository/algorithmRepository.vue
@@ -6,10 +6,10 @@
          <img class="imgicon" :src="`${baseUrl}/后台-算法仓库/${item.dictValue}.png`" alt="" />
          <div>{{ item.dictValue }}</div>
          <div
            :class="item.dictValue === '病虫害识别' ? 'stopStatus' : 'normalStatus'"
            :class="item.dictValue === '病虫害' ? 'stopStatus' : 'normalStatus'"
            @click="jumpDatail(item)"
          >
            {{ item.dictValue === '病虫害识别' ? '停用状态' : '正常状态' }}
            {{ item.dictValue === '病虫害' ? '停用状态' : '正常状态' }}
          </div>
        </div>
      </div>
@@ -114,7 +114,7 @@
  });
};
const jumpDatail = val => {
  if (val.dictValue === '病虫害识别') {
  if (val.dictValue === '病虫害') {
    showDetail.value = false;
  } else {
    showDetail.value = true;