docs: udpate
parent
5db345b248
commit
04501dec3d
|
@ -12,7 +12,7 @@ Table with editable rows.
|
||||||
<template>
|
<template>
|
||||||
<a-table :columns="columns" :dataSource="data" bordered>
|
<a-table :columns="columns" :dataSource="data" bordered>
|
||||||
<template v-for="col in ['name', 'age', 'address']" :slot="col" slot-scope="text, record, index">
|
<template v-for="col in ['name', 'age', 'address']" :slot="col" slot-scope="text, record, index">
|
||||||
<div>
|
<div :key="col">
|
||||||
<a-input
|
<a-input
|
||||||
v-if="record.editable"
|
v-if="record.editable"
|
||||||
style="margin: -5px 0"
|
style="margin: -5px 0"
|
||||||
|
|
|
@ -19,7 +19,7 @@ The tree structure can be populated using `treeData` property. This is a quick a
|
||||||
v-model="value"
|
v-model="value"
|
||||||
>
|
>
|
||||||
<span style="color: #08c" slot="title" slot-scope="{key, value}" v-if="key='0-0-1'">
|
<span style="color: #08c" slot="title" slot-scope="{key, value}" v-if="key='0-0-1'">
|
||||||
<a-icon type="home"/>Child Node1 {{value}}
|
Child Node1 {{value}}
|
||||||
</span>
|
</span>
|
||||||
</a-tree-select>
|
</a-tree-select>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -113,6 +113,7 @@ function copyHtml() {
|
||||||
gulp.task('_site', done => {
|
gulp.task('_site', done => {
|
||||||
dist(() => {
|
dist(() => {
|
||||||
copyHtml();
|
copyHtml();
|
||||||
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
gulp.task('copy-html', () => {
|
gulp.task('copy-html', () => {
|
||||||
|
|
|
@ -6,7 +6,7 @@ const carbonUrls = {
|
||||||
'ant-design-vue.gitee.io':'//cdn.carbonads.com/carbon.js?serve=CK7DL2JN&placement=antdesignvuegiteeio',
|
'ant-design-vue.gitee.io':'//cdn.carbonads.com/carbon.js?serve=CK7DL2JN&placement=antdesignvuegiteeio',
|
||||||
'vue.ant.design': '//cdn.carbonads.com/carbon.js?serve=CK7DL2JW&placement=vueantdesign',
|
'vue.ant.design': '//cdn.carbonads.com/carbon.js?serve=CK7DL2JW&placement=vueantdesign',
|
||||||
};
|
};
|
||||||
const carbonUrl = carbonUrls[location.host] || '//cdn.carbonads.com/carbon.js?serve=CK7DL2JW&placement=vuecomponentgithubio';
|
const carbonUrl = carbonUrls[location.host] || '//cdn.carbonads.com/carbon.js?serve=CK7DL2JW&placement=vueantdesign';
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
isMobile: Boolean,
|
isMobile: Boolean,
|
||||||
|
|
Loading…
Reference in New Issue