Skip to content

Commit

Permalink
feat:修改script把antd锁定在4.x的版本
Browse files Browse the repository at this point in the history
  • Loading branch information
saltovo committed Sep 5, 2023
1 parent 3e961de commit 5c357e7
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion examples/basic/config/template.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
<script src="https://unpkg.com/moment/min/moment-with-locales.js"></script>
<script src="https://unpkg.com/react/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/antd/dist/antd-with-locales.min.js"></script>
<script src="https://unpkg.com/antd@4.x/dist/antd-with-locales.min.js"></script>
</body>
2 changes: 1 addition & 1 deletion examples/multi-workspace/config/template.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
<script src="https://unpkg.com/moment/min/moment-with-locales.js"></script>
<script src="https://unpkg.com/react/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/antd/dist/antd-with-locales.min.js"></script>
<script src="https://unpkg.com/antd@4.x/dist/antd-with-locales.min.js"></script>
</body>
2 changes: 1 addition & 1 deletion examples/sandbox-multi-workspace/config/template.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
<script src="https://unpkg.com/moment/min/moment-with-locales.js"></script>
<script src="https://unpkg.com/react/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/antd/dist/antd-with-locales.min.js"></script>
<script src="https://unpkg.com/antd@4.x/dist/antd-with-locales.min.js"></script>
</body>
4 changes: 2 additions & 2 deletions examples/sandbox-multi-workspace/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ const App = () => {
'https://unpkg.com/moment/min/moment-with-locales.js',
'https://unpkg.com/react/umd/react.production.min.js',
'https://unpkg.com/react-dom/umd/react-dom.production.min.js',
'https://unpkg.com/antd/dist/antd-with-locales.min.js',
'https://unpkg.com/antd@4.x/dist/antd-with-locales.min.js',
'./sandbox.bundle.js',
]}
/>
Expand Down Expand Up @@ -396,7 +396,7 @@ const App = () => {
'https://unpkg.com/moment/min/moment-with-locales.js',
'https://unpkg.com/react/umd/react.production.min.js',
'https://unpkg.com/react-dom/umd/react-dom.production.min.js',
'https://unpkg.com/antd/dist/antd-with-locales.min.js',
'https://unpkg.com/antd@4.x/dist/antd-with-locales.min.js',
'./sandbox.bundle.js',
]}
/>
Expand Down
2 changes: 1 addition & 1 deletion examples/sandbox/config/template.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
<script src="https://unpkg.com/moment/min/moment-with-locales.js"></script>
<script src="https://unpkg.com/react/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/antd/dist/antd-with-locales.min.js"></script>
<script src="https://unpkg.com/antd@4.x/dist/antd-with-locales.min.js"></script>
</body>
2 changes: 1 addition & 1 deletion examples/sandbox/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ const App = () => {
'https://unpkg.com/moment/min/moment-with-locales.js',
'https://unpkg.com/react/umd/react.production.min.js',
'https://unpkg.com/react-dom/umd/react-dom.production.min.js',
'https://unpkg.com/antd/dist/antd-with-locales.min.js',
'https://unpkg.com/antd@4.x/dist/antd-with-locales.min.js',
'./sandbox.bundle.js',
]}
/>
Expand Down
2 changes: 1 addition & 1 deletion formily/antd/playground/template.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
<script src="https://unpkg.com/moment/min/moment-with-locales.js"></script>
<script src="https://unpkg.com/react/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/antd/dist/antd-with-locales.min.js"></script>
<script src="https://unpkg.com/antd@4.x/dist/antd-with-locales.min.js"></script>
</body>

0 comments on commit 5c357e7

Please sign in to comment.