diff --git a/src/components/ProTable/index.vue b/src/components/ProTable/index.vue index b53b940..a933f32 100644 --- a/src/components/ProTable/index.vue +++ b/src/components/ProTable/index.vue @@ -54,6 +54,11 @@ v-if="item.type == 'selection' || item.type == 'index'" > + + + + + diff --git a/src/components/ProTable/interface/index.ts b/src/components/ProTable/interface/index.ts index c5fc2d5..b5c18eb 100644 --- a/src/components/ProTable/interface/index.ts +++ b/src/components/ProTable/interface/index.ts @@ -10,7 +10,7 @@ export interface EnumProps { [key: string]: any; } -export type TypeProp = "index" | "selection" | "expand"; +export type TypeProp = "index" | "selection" | "expand" | "html"; export type SearchType = | "input" diff --git a/src/views/goverment/notice/myPosted/index.scss b/src/views/goverment/notice/myPosted/index.scss index e83b9a7..c318b1e 100644 --- a/src/views/goverment/notice/myPosted/index.scss +++ b/src/views/goverment/notice/myPosted/index.scss @@ -18,3 +18,16 @@ .content { padding: 0 40px; } + +.html-div:first-child { + display: block !important; + line-height: 50px; + height: 50px; + width: 100%; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; +} +.html-div:not(:first-child) { + display: none; +} diff --git a/src/views/goverment/notice/myPosted/index.vue b/src/views/goverment/notice/myPosted/index.vue index bdb4992..bdf2f62 100644 --- a/src/views/goverment/notice/myPosted/index.vue +++ b/src/views/goverment/notice/myPosted/index.vue @@ -11,6 +11,9 @@ background :isShowSearch="false" > +