antvis / wx-f2

F2 的微信小程序
MIT License
1.28k stars 185 forks source link

demo的代码为啥没了啊,贴出来比文档好多了,文档的代码都跑不了 #312

Open lshunran opened 4 years ago

lshunran commented 4 years ago
helloli commented 4 years ago

+1 真心跑不了

shinchanZ commented 4 years ago

+1,Cannot read property 'getContext' of undefined

zengyue commented 4 years ago

哪个跑不了,直接看 https://f2.antv.vision/zh 官网

rainyMount commented 4 years ago

哪个跑不了,直接看 https://f2.antv.vision/zh 官网

官网饼图的例子,用到 chart.guide().html() 和 chart.pieLabel() 的时候报错: Cannot read property 'createElement' of undefined

lshunran commented 4 years ago

哪个跑不了,直接看 https://f2.antv.vision/zh 官网

你好,https://github.com/antvis/wx-f2里readme中的代码跑不了

zengyue commented 4 years ago

哪个跑不了,直接看 https://f2.antv.vision/zh 官网

你好,https://github.com/antvis/wx-f2里readme中的代码跑不了

问题是什么?

SHenry07 commented 3 years ago

问题是什么?

[ pages/history/history.json 文件内容错误] pages/history/history.json: ["usingComponents"]["f2"]: "@antv/wx-f2" 未找到

按照文档操作的,先新建个项目,npm等等

image image

SHenry07 commented 3 years ago

@zengyue 帮忙看一下或者给个demo地址?谢谢了

dongjianghao commented 3 years ago

@SHenry07

## 没有package.json时执行下面这段
## echo "{}" > package.json
SHenry07 commented 3 years ago

@SHenry07

## 没有package.json时执行下面这段
## echo "{}" > package.json

谢谢。

kukudetengteng commented 3 years ago

+1,Cannot read property 'getContext' of undefined

点击右上角“详情”-->“本地设置”-->“调试基础库”-->"选择:2.9.2+"

ctq123 commented 3 years ago

问题是什么?

[ pages/history/history.json 文件内容错误] pages/history/history.json: ["usingComponents"]["f2"]: "@antv/wx-f2" 未找到

按照文档操作的,先新建个项目,npm等等

image image

解决了没,我也碰到了 而且我有package.json文件

SHenry07 commented 3 years ago

问题是什么?

[ pages/history/history.json 文件内容错误] pages/history/history.json: ["usingComponents"]["f2"]: "@antv/wx-f2" 未找到 按照文档操作的,先新建个项目,npm等等

解决了没,我也碰到了 而且我有package.json文件

重新初始化了一遍

acegank commented 3 years ago

"@antv/wx-f2" 未找到

ChinDer commented 4 months ago

问题是什么?

[ pages/history/history.json 文件内容错误] pages/history/history.json: ["usingComponents"]["f2"]: "@antv/wx-f2" 未找到 按照文档操作,先新建项目,npm等等

我发现没,我也想过 而且我有package.json文件

重新初始化了后端

我也遇到了。并且重新初始化了项目。不知道和新版本ide取消使用npm模块有关 image