比如在data中声明的show1、show2、show3、show4,会有场景使用时是showX 需要用到一个变量去赋值1、2、3、4… let index = 1/2/3/4 this[`show${index}`]