|
|
@ -88,7 +88,6 @@ const cardClick = async (item: System.ChannelState) => { |
|
|
|
<template lang="pug"> |
|
|
|
div.home-container(v-loading="loading") |
|
|
|
el-card(v-for="item in channelList" :key="item.channelCode" :class="{'card-selected': item.selected }" @click="() => cardClick(item)") |
|
|
|
// 在子元素上绑定点击事件,阻止事件冒泡 |
|
|
|
div.top-box(@click.stop) |
|
|
|
p.title {{channelMap[item.channelCode]}} |
|
|
|
div.solution-box(@click.stop="() => receiveHandle(item)") |
|
|
|