mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
chore: update site config
This commit is contained in:
parent
e18e36d95a
commit
0b5d0bd74d
@ -57,7 +57,7 @@ export const siteDevBaseConfig = merge(baseConfig as any, {
|
||||
}
|
||||
},
|
||||
output: {
|
||||
chunkFilename: 'async_[name].js'
|
||||
chunkFilename: '[name].js'
|
||||
},
|
||||
optimization: {
|
||||
splitChunks: {
|
||||
|
@ -110,7 +110,7 @@ export default {
|
||||
toggleAll: '全选与反选',
|
||||
checkAll: '全选',
|
||||
inverse: '反选',
|
||||
disabledLabelClick: '禁用复选框文本点击'
|
||||
disabledLabelClick: '禁用文本点击'
|
||||
},
|
||||
'en-US': {
|
||||
checkbox: 'Checkbox',
|
||||
|
@ -86,7 +86,7 @@ export default {
|
||||
customColor: '自定义颜色',
|
||||
customShape: '自定义形状',
|
||||
withCell: '与 Cell 组件一起使用',
|
||||
disabledLabelClick: '禁用单选框文本点击'
|
||||
disabledLabelClick: '禁用文本点击'
|
||||
},
|
||||
'en-US': {
|
||||
radio: 'Radio',
|
||||
|
@ -289,8 +289,6 @@ exports[`renders demo correctly 1`] = `
|
||||
<div role="tab" class="van-tab van-ellipsis" style="flex-basis: 22%;"><span class="van-tab__text">标签 6<!----></span></div>
|
||||
<div role="tab" class="van-tab van-ellipsis" style="flex-basis: 22%;"><span class="van-tab__text">标签 7<!----></span></div>
|
||||
<div role="tab" class="van-tab van-ellipsis" style="flex-basis: 22%;"><span class="van-tab__text">标签 8<!----></span></div>
|
||||
<div role="tab" class="van-tab van-ellipsis" style="flex-basis: 22%;"><span class="van-tab__text">标签 9<!----></span></div>
|
||||
<div role="tab" class="van-tab van-ellipsis" style="flex-basis: 22%;"><span class="van-tab__text">标签 10<!----></span></div>
|
||||
<div class="van-tabs__line" style="width: 0px; transform: translateX(0px) translateX(-50%);"></div>
|
||||
</div>
|
||||
</div>
|
||||
@ -321,12 +319,6 @@ exports[`renders demo correctly 1`] = `
|
||||
<div role="tabpanel" class="van-tab__pane">
|
||||
内容 8
|
||||
</div>
|
||||
<div role="tabpanel" class="van-tab__pane">
|
||||
内容 9
|
||||
</div>
|
||||
<div role="tabpanel" class="van-tab__pane">
|
||||
内容 10
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -10,7 +10,7 @@ module.exports = {
|
||||
}
|
||||
},
|
||||
site: {
|
||||
defaultLang: 'zh-CN',
|
||||
defaultLang: 'en-US',
|
||||
versions: [
|
||||
{ label: '1.x', link: 'https://youzan.github.io/vant/1.x/' }
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user