在swift4中使用shouldPerformSegue

在swift4中使用shouldPerformSegue