TypeError: Cannot read properties of null (reading ‘split‘) 报错如下图: 将 str.split(’,’) 变成 (str || “”).split(’,’)