fix: 修改设备卡片名称

This commit is contained in:
100011797 2023-01-31 16:51:48 +08:00
parent f381453bce
commit 3f8aba0a8c
5 changed files with 16 additions and 1 deletions

View File

@ -231,6 +231,13 @@ const handleClick = () => {
:deep(.card-item-content-title) {
cursor: pointer;
font-size: 16px;
font-weight: 700;
color: @primary-color;
width: calc(100% - 100px);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
:deep(.card-item-heard-name) {

View File

@ -150,6 +150,10 @@ export default [
path: '/northbound/DuerOS',
component: () => import('@/views/northbound/DuerOS/index.vue')
},
{
path: '/northbound/DuerOS/detail/:id',
component: () => import('@/views/northbound/DuerOS/Save/index.vue')
},
{
path: '/northbound/AliCloud',
component: () => import('@/views/northbound/AliCloud/index.vue')

View File

@ -1,4 +1,5 @@
<template>
<Search :columns="columns" target="device-instance" />
<JTable
ref="instanceRef"
:columns="columns"

View File

@ -0,0 +1,3 @@
<template>
123
</template>

View File

@ -148,7 +148,7 @@ const getActions = (data: Partial<Record<string, any>>): ActionsType[] => {
}
const add = () => {
message.warn('123')
// router.push(`/northbound/DuerOS/detail/:id`)
}
</script>