no message

Former-commit-id: e7813238ffff55b887f8951ee45f342f4c626303 [formerly e7813238ffff55b887f8951ee45f342f4c626303 [formerly e7813238ffff55b887f8951ee45f342f4c626303 [formerly e7813238ffff55b887f8951ee45f342f4c626303 [formerly b55667d3d7441ec5b726e8b3750c9989ce6b37ad [formerly 16a5bcf9cbecccf3f42c6192284a37f1640a5dee]]]]]
Former-commit-id: 8892f31e8d2cfc49a1d249edd17b976fcd777a1e
Former-commit-id: 2842d0b65ae587bf55a943debec8f8e49e7cde50
Former-commit-id: 7764509dc507ca044e743df95a8846bc57706295 [formerly cf6157f7480ac2cc7008eb34f033b5d68303f9cd]
Former-commit-id: 43f24b32fcd00f3b5c3c7296140abcfff081c6c6
Former-commit-id: e2324d5c741ce637f92e42a70b618cb8a0e94f35
Former-commit-id: f3845a24d98bc2a261aec86c3273ca139e5073ac
Former-commit-id: fe6f2d71196a70c085957eccc43a99e81e2bf1b1
Former-commit-id: b95b3807da9f4b536da864469e888fc5231d0843
This commit is contained in:
liyang
2018-06-18 23:10:46 +08:00
parent 32419282df
commit d3cbc38ae8
4 changed files with 9 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
<template>
<el-button-group>
<el-button v-if="title" size="mini">{{title}}</el-button>
<el-button v-if="title" size="mini" @click="$open(link)">{{title}}</el-button>
<el-button size="mini" @click="$open(link)">
<d2-icon :name="icon"/>
{{link}}

View File

@@ -146,7 +146,8 @@ const demoElement = {
title: '表单',
children: [
{ path: `${pre}form-radio`, title: '单选框' },
{ path: `${pre}form-checkbox`, title: '多选框' }
{ path: `${pre}form-checkbox`, title: '多选框' },
{ path: `${pre}form-input`, title: '输入框' }
]
}
])('/demo/element/')

View File

@@ -0,0 +1,5 @@
<template>
<d2-container>
<d2-demo-link-btn title="组件示例尚未移植完成 现请参阅右侧链接" link="http://element.eleme.io/#/zh-CN"/>
</d2-container>
</template>

View File

@@ -116,6 +116,7 @@ const routes = [
{ path: 'basic-button', name: `${pre}basic-button`, component: () => import('@/pages/demo/element/basic-button/index.vue'), meta },
{ path: 'form-radio', name: `${pre}form-radio`, component: () => import('@/pages/demo/element/form-radio/index.vue'), meta },
{ path: 'form-checkbox', name: `${pre}form-checkbox`, component: () => import('@/pages/demo/element/form-checkbox/index.vue'), meta },
{ path: 'form-input', name: `${pre}form-input`, component: () => import('@/pages/demo/element/form-input/index.vue'), meta },
{ path: 'index', name: `${pre}index`, component: () => import('@/pages/demo/element/index/index.vue'), meta }
])('demo-element-')
},