美文网首页
开发中遇到的问题记录

开发中遇到的问题记录

作者: gem_Y | 来源:发表于2020-08-21 11:35 被阅读0次

1. project.config.json 下面的 condition 是拿来干嘛的?

答:用来 配置编译的

{
    "description": "项目配置文件",
    "packOptions": {
        "ignore": []
    },
       ...
    "condition": {
        "search": {
            "current": -1,
            "list": []
        },
        "conversation": {
            "current": -1,
            "list": []
        },
        "plugin": {
            "current": -1,
            "list": []
        },
        "game": {
            "currentL": -1,
            "list": []
        },
        "gamePlugin": {
            "current": -1,
            "list": []
        },
        "miniprogram": {  // 编译 场景配置
            "current": -1,
            "list": [
                {
                    "id": 0,
                    "name": "pages/wait-page/wait-page",
                    "pathName": "pages/wait-page/wait-page",
                    "query": "scene=5_fafede008fa9427888e5",
                    "scene": 1011
                },
                {
                    "id": 1,
                    "name": "pages/entrance-page/entrance-page",
                    "pathName": "pages/entrance-page/entrance-page",
                    "query": "scene=1_fafede008fa9427888e5",
                    "scene": 1007
                }
            ]
        }
    }
image.png

相关文章

网友评论

      本文标题:开发中遇到的问题记录

      本文链接:https://www.haomeiwen.com/subject/silujktx.html