收藏
回答

【有官方大佬看到的吗?求解决】http调用工具上传代码app.json有缓存

框架类型 问题类型 操作系统 工具版本
小程序 Bug macOS 1.02.1907300

https://developers.weixin.qq.com/community/develop/doc/000e2e2c1acd7819bf29ebbd851c00

mac和windows都试过了,

在用http调用开发工具上传代码时,app.json>>tabBar>>list 有缓存,cli命令行上传也一样

"tabBar": {
        "list": [
            {
                "pagePath":"pages/home/home",
                "text":"精选",
                "iconPath":"./static/icon_tabbar_index.png",
                "selectedIconPath":"./static/icon_tabbar_index_selected.png"
            },
            {
                "pagePath":"pages/discover/discover",
                "text":"发现",
                "iconPath":"./static/icon_tabbar_discover.png",
                "selectedIconPath":"./static/icon_tabbar_discover_selected.png"
            },
            {
                "pagePath":"pages/my_center/my_center",
                "text":"我的",
                "iconPath":"./static/icon_tabbar_profile.png",
                "selectedIconPath":"./static/icon_tabbar_profile_selected.png"
            }
        ],
        "color":"#999999",
        "selectedColor":"#1a1a1a",
        "backgroundColor":"#fff",
        "borderStyle":"white"
    },
"tabBar": {
        "list": [
            {
                "pagePath":"pages/home/home",
                "text":"精选",
                "iconPath":"./static/icon_tabbar_index.png",
                "selectedIconPath":"./static/icon_tabbar_index_selected.png"
            },
            {
                "pagePath":"pages/my_center/my_center",
                "text":"我的",
                "iconPath":"./static/icon_tabbar_profile.png",
                "selectedIconPath":"./static/icon_tabbar_profile_selected.png"
            }
        ],
        "color":"#999999",
        "selectedColor":"#1a1a1a",
        "backgroundColor":"#fff",
        "borderStyle":"white"
    },

这两段配置最后编译后的tabBar一样

最后一次编辑于  2019-09-24
回答关注问题邀请回答
收藏

2 个回答

登录 后发表内容
问题标签