Skip to content

Commit

Permalink
feat: ✨ d2-crud-plus 演示首页优化
Browse files Browse the repository at this point in the history
  • Loading branch information
FairyEver committed Sep 1, 2020
1 parent bcf3ffa commit d505583
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/views/demo/d2-crud-plus/index/index.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<template>
<d2-container type="ghost">
<d2-module-index-banner slot="header" v-bind="banner"/>
<el-tabs>
<el-tabs v-model="tab">
<el-tab-pane label="效果" name="result">
<img src="./image/gif.webp" style="width: 600px; border: 1px solid #E4E7ED; border-radius: 4px;">
</el-tab-pane>
<el-tab-pane label="code" name="code">
<el-tab-pane label="代码" name="code">
<d2-highlight :code="code" lang="javascript"/>
</el-tab-pane>
</el-tabs>
Expand All @@ -19,6 +19,7 @@ export default {
data () {
return {
code,
tab: 'result',
banner: {
title: 'D2 CRUD PLUS',
subTitle: 'D2 Crud Plus 是一个面向配置的Crud开发框架,辅助d2-crud和d2-crud-x,让开发crud更简单',
Expand Down

0 comments on commit d505583

Please sign in to comment.