刚知道的原来if判断能这么写
projectId: function (next) {
// this.openBid = true;
if (next) //判断如果 next 存在 也就是为 true 就默认执行下一行
this.getData(next);
}
刚知道的原来if判断能这么写
projectId: function (next) {
// this.openBid = true;
if (next) //判断如果 next 存在 也就是为 true 就默认执行下一行
this.getData(next);
}