# GOSU BAR 透過流程編輯器或圖像編輯器產生 QR Code ## 透過 Google Chart API 產生 QR Code ### 範例 ``` https://chart.googleapis.com/chart?cht=qr&chld=L|1&chs=320x320&chl=資料內容 ``` ![](https://chart.googleapis.com/chart?cht=qr&chld=L|1&chs=320x320&chl=資料內容) ## 技術文件 ![](https://i.imgur.com/YiWIuff.png) ## 透過流程產生 執行程式碼節點 ```javascript= // 修改為你想要產生為 QR Code 的資料 let data = `https://www.google.com`; // 除非要修改 QR Code 參數,不然固定即可 tmp.qr = `https://chart.googleapis.com/chart?cht=qr&chld=L|1&chs=320x320&chl=${encodeURIComponent(data)}`; ``` 此時,==tmp.qr==就會是QR Code的網址連結
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up