width : calc(100% - 30px);
    编译成width: calc(70%);
    less 2018年修复
    3.xx以上可用

    这么写也可以解决
    width : calc(~”100% - 30px”);