前端监控完成
This commit is contained in:
		| @@ -149,11 +149,11 @@ export default { | ||||
|     checkAll: v => v.chooseList.length == v.tableData.length && v.tableData !== 0, | ||||
|     page() { | ||||
|       return { | ||||
|         ...this.pageConfig, | ||||
|         current: this.current, | ||||
|         size: this.size, | ||||
|         total: this.total, | ||||
|         pagerCount: this.pagerCount | ||||
|         pagerCount: this.pagerCount, | ||||
|         ...this.pageConfig | ||||
|       } | ||||
|     }, | ||||
|   }, | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| <template> | ||||
|   <section class="ai-card" :class="{panel}"> | ||||
|   <section class="ai-card" :class="{panel,headerPanel}"> | ||||
|     <ai-bar v-if="!hideHeader" :title="title" v-bind="$attrs"> | ||||
|       <template #title> | ||||
|         <slot name="title"></slot> | ||||
| @@ -23,7 +23,8 @@ export default { | ||||
|       type: String | ||||
|     }, | ||||
|     hideTitle: Boolean, | ||||
|     panel: Boolean | ||||
|     panel: Boolean, | ||||
|     headerPanel: Boolean | ||||
|   }, | ||||
|   computed: { | ||||
|     hideHeader: v => v.hideTitle || v.panel | ||||
| @@ -43,12 +44,16 @@ export default { | ||||
|     padding: 12px 40px 22px; | ||||
|   } | ||||
|  | ||||
|   &.panel { | ||||
|   &.panel, &.headerPanel { | ||||
|     margin-bottom: 0; | ||||
|  | ||||
|     .ai-card__body { | ||||
|       padding: 12px 16px; | ||||
|     } | ||||
|  | ||||
|     .aibar { | ||||
|       margin-bottom: 0 !important; | ||||
|     } | ||||
|   } | ||||
|  | ||||
|  | ||||
|   | ||||
| @@ -42,7 +42,7 @@ export default { | ||||
|     } | ||||
|   }, | ||||
|   computed: { | ||||
|     colors () { | ||||
|     colors() { | ||||
|       if (this.theme === '0') { | ||||
|         return ['#2896FF', '#09DBFE', '#61FDB9', '#FFBB69', '#8429FF', '#ea7ccc'] | ||||
|       } | ||||
| @@ -113,7 +113,7 @@ export default { | ||||
|       } | ||||
|     }, | ||||
|  | ||||
|     theme () { | ||||
|     theme() { | ||||
|       this.refresh() | ||||
|     } | ||||
|   }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user