vue判断某一个值是否有内容,若为空则用-代替
if (
!shipName ||
shipName === "" ||
shipName === "null" ||
shipName === "undefined"
) {
shipName = '-'
}