我不知道这里发生了什么..
model.attributes.data.Path.replace('/\\/g',""), @options.path.replace('/\\/g',"")
做的时候:
console.log model.attributes.data.Path.replace('/\\/g',""),
@options.path.replace('/\\/g',"")
数据是:
T2/T2_2、T2/T2_2
它返回这个:
T2T2_2、T2/T2_2
所以只有第一条路径被替换,而不是第二条路径?为什么会这样?