收藏
回答

["subPackages"][11]["pages"][0] 不应该以 '/' 开头 ?

报错提示:
message:Error: app.json: ["subPackages"][11]["pages"][0] 不应该以 '/' 开头
ideVersion: 1.06.2310080
osType: win32-x64
time: 2023-12-01 18:00:02

{
  "pages": [
    "pages/guide/index",
    "pages/store_cate/store_cate",
    "pages/index/index",
    "pages/user/index",
    "pages/goods_cate/goods_cate"
  ],
  "subPackages": [
    {
      "root""pages/users",
      "pages": [
        "user_vip_areer/index",
        "privacy/index",
        "user_cancellation/index",
        "message_center/index",
        "message_center/messageDetail",
        "user_invoice_order/index",
        "scan_login/index",
        "user_invoice_list/index",
        "user_invoice_form/index",
        "wechat_login/index",
        "retrievePassword/index",
        "user_set/index",
        "user_info/index",
        "user_get_coupon/index",
        "visit_list/index",
        "user_goods_collection/index",
        "user_sgin/index",
        "user_sgin_list/index",
        "user_money/index",
        "user_bill/index",
        "user_integral/index",
        "user_coupon/index",
        "user_spread_user/index",
        "user_spread_code/index",
        "user_spread_money/index",
        "user_cash/index",
        "user_vip/index",
        "user_distribution_level/index",
        "user_address_list/index",
        "user_address/index",
        "add_car/index",
        "user_phone/index",
        "user_payment/index",
        "user_pwd_edit/index",
        "promoter-list/index",
        "promoter-order/index",
        "promoter_rank/index",
        "commission_rank/index",
        "user_return_list/index",
        "login/index",
        "my_check/index"
      ],
      "name""users"
    },
    {
      "root""pages/short_video",
      "pages": [
        "nvueSwiper/index"
      ],
      "name""shortVideo"
    },
    {
      "root""pages/goods_details",
      "pages": [
        "index",
        "discountsGoodsList"
      ],
      "name""goods_details"
    },
    {
      "root""pages/store",
      "pages": [
        "service/index",
        "search_stores/index",
        "newcomers/index",
        "ruleInfo/index",
        "map/index",
        "group_buy/index",
        "group_cart/index",
        "group_goods/index",
        "table_code/index",
        "table_confirm/index"
      ],
      "name""store"
    },
    {
      "root""pages/activity",
      "pages": [
        "goods_bargain/index",
        "goods_bargain_details/index",
        "goods_combination/index",
        "goods_combination_details/index",
        "goods_combination_status/index",
        "goods_seckill/index",
        "goods_seckill_details/index",
        "poster-poster/index",
        "bargain/index",
        "presell/index",
        "discount/index"
      ],
      "name""activity"
    },
    {
      "root""pages/admin",
      "pages": [
        "custom_date/index",
        "order/index",
        "orderList/index",
        "orderDetail/index",
        "delivery/index",
        "statistics/index",
        "order_cancellation/index",
        "store/index",
        "store/custom_date/index",
        "store/statistics/index",
        "store/orderDetail/index",
        "store/order/index",
        "store/deliverGoods/index",
        "distribution/index",
        "distribution/scanning/index",
        "distribution/scanning/detail/index",
        "distribution/orderDetail/index",
        "store/scanning/index",
        "store/scanning/detail/index"
      ],
      "name""adminOrder"
    },
    {
      "root""pages/columnGoods",
      "pages": [
        "HotNewGoods/index",
        "live_list/index",
        "HotNewGoods/feedback"
      ],
      "name""columnGoods"
    },
    {
      "root""pages/annex",
      "pages": [
        "web_view/index",
        "vip_paid/index",
        "vip_grade/index",
        "record_list/index",
        "vip_grade_active/index",
        "vip_coupon/index",
        "vip_clause/index",
        "vip_active/index",
        "offline_pay/index",
        "offline_result/index",
        "special/index"
      ]
    },
    {
      "root""pages/points_mall",
      "pages": [
        "index",
        "integral_goods_list",
        "integral_goods_details",
        "exchange_record",
        "integral_order",
        "user_address",
        "integral_order_status",
        "integral_order_details",
        "logistics_details"
      ]
    },
    {
      "root""pages/extension",
      "pages": [
        "invite_friend/index",
        "customer_list/chat",
        "news_list/index",
        "news_details/index"
      ],
      "name""extension"
    },
    {
      "root""pages/work",
      "pages": [
        "userInfo/index",
        "orderList/index",
        "orderDetail/index",
        "record/index",
        "groupInfo/index"
      ],
      "name""work"
    },
    {
      "root""pages/my_video",
      "pages": [
        "/index"
      ],
      "name""video"
    },
    {
      "root""pages/my_img",
      "pages": [
        "/index"
      ],
      "name""img"
    },
    {
      "root""pages/goods",
      "pages": [
        "goods_list/index",
        "car_list/index",
        "my_car_list/index",
        "goods_search/index",
        "order_pay_status/index",
        "order_pay_status/payLottery",
        "goods_comment_list/index",
        "goods_comment_con/index",
        "goods_comment_con/comment_con",
        "goods_comment_con/lottery_comment",
        "goods_logistics/index",
        "delivery_detail/index",
        "goods_details_store/index",
        "goods_return_list/index",
        "goods_return/index",
        "order_details/index",
        "order_list/index",
        "order_pay/index",
        "order_refund_goods/index",
        "admin_order_detail/index",
        "order_confirm/index",
        "lottery/grids/index",
        "lottery/grids/record",
        "lottery/grids/order"
      ],
      "name""goods"
    },
    {
      "root""pages/basedisk",
      "pages": [
        "basedisk_list/index"
      ],
      "name""basedisk"
    }
  ],
  "window": {
    "navigationBarTextStyle""black",
    "navigationBarTitleText""加载中",
    "navigationBarBackgroundColor""#fff",
    "backgroundColor""#F8F8F8",
    "titleNView"false
  },
  "tabBar": {
    "color""#282828",
    "selectedColor""#ff3366",
    "borderStyle""black",
    "backgroundColor""#ffffff",
    "list": [
      {
        "pagePath""pages/index/index",
        "iconPath""static/images/1-001.png",
        "selectedIconPath""static/images/1-002.png",
        "text""首页"
      },
      {
        "pagePath""pages/goods_cate/goods_cate",
        "iconPath""static/images/2-001.png",
        "selectedIconPath""static/images/2-002.png",
        "text""分类"
      },
      {
        "pagePath""pages/user/index",
        "iconPath""static/images/4-001.png",
        "selectedIconPath""static/images/4-002.png",
        "text""我的"
      }
    ]
  },
  "permission": {
    "scope.userLocation": {
      "desc""你的位置信息将用于和门店的距离长度"
    }
  },
  "requiredPrivateInfos": [
    "getLocation",
    "chooseLocation",
    "chooseAddress"
  ],
  "lazyCodeLoading""requiredComponents",
  "runmode""liberate",
  "usingComponents": {
    "skeleton""/components/skeleton/index",
    "authorize""/components/authorize/index"
  }
}
请问一下哪里的问题。
回答关注问题邀请回答
收藏

2 个回答

  • 奎
    2023-12-01

    2023-12-01
    有用 1
    回复
  • Jerry
    Jerry
    2023-12-01

    说的很清楚啊,不能以 '/'开头啊

    2023-12-01
    有用
    回复
登录 后发表内容