Edge: SCRIPT1028: Expected identifier, string or number

前端 未结 4 2041
情话喂你
情话喂你 2020-12-18 19:23

My page works fine in Chrome and Firefox:

However, when I try to load this page in Edge, the questions and answers disappear. Only the categories are posted. Also,

4条回答
  •  青春惊慌失措
    2020-12-18 20:17

    As of 2020-05-12 this will work in Microsoft Edge. Tested version: Microsoft Edge Version 81.0.416.72 (Official build) (64-bit)

    https://www.microsoft.com/en-us/edge

    The following lines of code caused the exception SCRIPT1028: Expected identifier, string or number but when updating everything worked:

    return {
        ...state,
        products: [...state.products, ...action.payload],
    };
    

提交回复
热议问题