Comments (3)
我把你的option copy过来是可以正常使用的
另外
这个地方做了转换的,所以,理论上讲,传递字符串类型数字也是可以的
第二个问题
此处导出的是一个对象,内部包含了Knob, Swtich, DigitalGauge 而不只是DigitalGauge
build的时候,单独把三个分开编译了一次,所以
import DigitalGauge from "t-digital-gauge2/dist/digitalgauge"; 也是可以正常使用,并且不会导入其他两个图表
import DigitalGauge from "t-digital-gauge2";
应写为
import { DigitalGauge } from 't-digital-gauge2'
使用结构赋值或者单独点语法
from t-digital-gauge.
不好意思,刚刚没注意你的问题,不是不能展示,而是value未展示的问题
已经发布新版本进行修复
前面的bug是由于,setOption在dom初始化之前,所以未触发相关的钩子。已经修复
另一个,是缺少了一个const
感谢指正,已经行修复
from t-digital-gauge.
index 是三个组件共同打包的,另外三个组件单独打包到dist中,可以单独引入
后续更新也会按照这个文件目录进行更新,
如果您在使用,非常荣幸接受您的建议和意见
同时感谢您的使用和测试
from t-digital-gauge.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from t-digital-gauge.