2.4.2
https://jsfiddle.net/QinFeiFei/0vqqrjc3/3/
字符串转为数组不报错,数组再转为字符串就赋值失败了。
..
...
You used the same method on both buttons (check the @click value in your html)
@click
我期望的效果是数组-字符串-对象可以自由转换
Most helpful comment
You used the same method on both buttons (check the
@clickvalue in your html)