JavaScript中值更改时如何拆分字符串?