html52.com
我爱小程序-开发者交流社区

【有官方大佬看到的吗?求解决】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一样

网友回复

铭锋科技:

谢邀,没有macos,等官方回答吧

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付