Browse Source

docs: udpate

pull/538/head
tangjinzhou 6 years ago
parent
commit
04501dec3d
  1. 2
      components/table/demo/edit-row.md
  2. 2
      components/tree-select/demo/treeData.md
  3. 1
      scripts/gulpfile.js
  4. 2
      site/components/CarbonAds.vue

2
components/table/demo/edit-row.md

@ -12,7 +12,7 @@ Table with editable rows.
<template>
<a-table :columns="columns" :dataSource="data" bordered>
<template v-for="col in ['name', 'age', 'address']" :slot="col" slot-scope="text, record, index">
<div>
<div :key="col">
<a-input
v-if="record.editable"
style="margin: -5px 0"

2
components/tree-select/demo/treeData.md

@ -19,7 +19,7 @@ The tree structure can be populated using `treeData` property. This is a quick a
v-model="value"
>
<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>
</a-tree-select>
</template>

1
scripts/gulpfile.js

@ -113,6 +113,7 @@ function copyHtml() {
gulp.task('_site', done => {
dist(() => {
copyHtml();
done();
});
});
gulp.task('copy-html', () => {

2
site/components/CarbonAds.vue

@ -6,7 +6,7 @@ const carbonUrls = {
'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',
};
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 {
props: {
isMobile: Boolean,

Loading…
Cancel
Save