偏右
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
site/theme/template/Content/Demo.jsx
|
|
@ -175,7 +175,7 @@ class Demo extends React.Component { |
|
|
|
const riddlePrefillConfig = { |
|
|
|
title: `${localizedTitle} - Ant Design Demo`, |
|
|
|
js: sourceCode.replace("'antd';", "'antd@3.x';"), |
|
|
|
css: prefillStyle.replace(" 'antd/", " 'antd@3.x/"), |
|
|
|
css: prefillStyle.replace(" 'antd/", " '~antd@3.x/"), |
|
|
|
}; |
|
|
|
const dependencies = sourceCode.split('\n').reduce( |
|
|
|
(acc, line) => { |
|
|
|