We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<template> <div id="kline_container"></div> </template> ``<script> import Kline from 'kline'; var kline = new Kline({ element: "#kline_container", symbol: "BTC", symbolName: "比特币", type: "poll", url: "http://192.168.0.147:80/index.php/api/index/getKline" }); kline.draw(); export default { name: 'k_line', data() { return {
<template> <div id="kline_container"></div> </template>
} }
}; </script>``
如何解决?
The text was updated successfully, but these errors were encountered:
遇到同样问题了
Sorry, something went wrong.
挂载的时候出错了,把事件放在mounted试试
No branches or pull requests
<template> <div id="kline_container"></div> </template>
``<script>
import Kline from 'kline';
var kline = new Kline({
element: "#kline_container",
symbol: "BTC",
symbolName: "比特币",
type: "poll",
url: "http://192.168.0.147:80/index.php/api/index/getKline"
});
kline.draw();
export default {
name: 'k_line',
data() {
return {
};
</script>``
如何解决?
The text was updated successfully, but these errors were encountered: