Skip to content

Commit 1ddf41b

Browse files
authored
fix charts js for server template (#128)
1 parent 5d9ea34 commit 1ddf41b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

β€Ž.template.config/templates/hosted/src/Client/wwwroot/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@
201201
</div>
202202
</div>
203203

204-
<script type="text/javascript" src="https://unpkg.com/@antv/g2plot@latest/dist/g2plot.min.js"></script>
204+
<script type="text/javascript" src="https://unpkg.com/@antv/g2plot@2.4.17/dist/g2plot.min.js"></script>
205205
<script src="_content/AntDesign/js/ant-design-blazor.js"></script>
206206
<script src="_content/AntDesign.Charts/ant-design-charts-blazor.js"></script>
207207
<script src="_framework/blazor.webassembly.js"></script>

β€Ž.template.config/templates/server/Pages/_Host.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<component type="typeof(App)" render-mode="Server" />
2323
</app>
2424

25-
<script type="text/javascript" src="https://unpkg.com/@antv/g2plot@latest/dist/g2plot.min.js"></script>
25+
<script type="text/javascript" src="@("https://unpkg.com/@antv/g2plot@2.4.17/dist/g2plot.min.js")"></script>
2626
<script src="_content/AntDesign/js/ant-design-blazor.js"></script>
2727
<script src="_content/AntDesign.Charts/ant-design-charts-blazor.js"></script>
2828
<script src="_framework/blazor.server.js"></script>

β€Žsrc/AntDesign.Pro/wwwroot/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@
201201
</div>
202202
</div>
203203

204-
<script type="text/javascript" src="https://unpkg.com/@antv/g2plot@latest/dist/g2plot.min.js"></script>
204+
<script type="text/javascript" src="https://unpkg.com/@antv/g2plot@2.4.17/dist/g2plot.min.js"></script>
205205
<script src="_content/AntDesign/js/ant-design-blazor.js"></script>
206206
<script src="_content/AntDesign.Charts/ant-design-charts-blazor.js"></script>
207207
<script src="_framework/blazor.webassembly.js"></script>

0 commit comments

Comments
Β (0)