Skip to content

Commit 8fea2df

Browse files
committed
捉虫
1 parent 6ed3119 commit 8fea2df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ onMounted(() => {
8585
const rawCode = window.location.search.match(/\?code=(.+)$/)?.[1];
8686
if (rawCode)
8787
try {
88-
const code = utf8.decode(base64.decode(rawCode));
88+
const code = utf8.decode(base64.decode(decodeURIComponent(rawCode)));
8989
const data = (<FunctionPlotDatum[]>JSON5.parse(code).data).map(
9090
importMapper
9191
);

0 commit comments

Comments
 (0)