Skip to content

Commit

Permalink
グラフ描画が動かないを修正 #1651
Browse files Browse the repository at this point in the history
  • Loading branch information
kujirahand committed May 1, 2024
1 parent 1d1ad01 commit c38d0ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core
2 changes: 1 addition & 1 deletion src/plugin_browser_chart.mts
Expand Up @@ -6,7 +6,7 @@ export default {
asyncFn: true,
fn: async function (data: any, sys: any) {
// Chart.jsが使えるかチェック
const win: any = sys.__v0.WINDOW
const win: any = sys.__getSysVar('WINDOW')
if (typeof win === 'undefined') {
throw new Error('『グラフ描画』のエラー。ブラウザで実行してください。')
}
Expand Down

0 comments on commit c38d0ed

Please sign in to comment.