请选择 进入手机版 | 继续访问电脑版
 找回密码
 立即注册
搜索

开发工具 新建项目中versionCode和minPlatformVersion为何默认为string

1
回复
1299
查看
[复制链接]

1

主题

1

帖子

10

积分

 楼主| 2019-10-18 01:54:56 显示全部楼层 |阅读模式
如题,使用ide创建新的项目,manifest.json里默认为: "versionCode": "1", "minPlatformVersion": "1020", 然而在官方文档里这两项都应该为int。 此外,同样是新建的项目,router下的widget属性,官方文档里并未出现,请问这是什么情况? 代码如下: "router": { "entry": "Demo", "pages": { "Demo": { "component": "index" }, "DemoDetail": { "component": "index" }, "About": { "component": "index" } }, "widgets": { "CardDemo": { "name": "CardDemo", "description": "快应用卡片展示", "component": "index", "path": "/CardDemo", "minPlatformVersion": 1032, "targetManufactorys": [ "vivo", "xiaomi" ], "features": [] } } },
回复

使用道具 举报

2019-10-18 11:58:29 显示全部楼层
widget属性和卡片相关,如果需要开发卡片,查看https://dev.vivo.com.cn/documentCenter/doc/217
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册