A multi-objective topology optimization method, based on the classical 99-line topology optimization program and 169-line 3d topology optimization program is proposed. Two-dimensional MBB beam and three-dimensional cantilever beam are optimized, the solution of the first order natural frequency and static stiffness under the constraint of the same time is given. This method can not only satisfy the strict weight requirement of aerospace products, but also avoid the resonance near the working frequency under the condition of satisfying the static stiffness constraint.