diff --git a/src/FluApp.cpp b/src/FluApp.cpp
index f21a50ef..47d91ab6 100644
--- a/src/FluApp.cpp
+++ b/src/FluApp.cpp
@@ -63,14 +63,14 @@ void FluApp::navigate(const QString& route,const QJsonObject& argument,FluRegist
     }
     properties.insert("argument",argument);
     QQuickWindow *view = qobject_cast<QQuickWindow*>(component.createWithInitialProperties(properties));
+    if(FluTheme::getInstance()->frameless()){
+        view->setFlag(Qt::FramelessWindowHint,true);
+    }
     wnds.insert(view->winId(),view);
     if(fluRegister){
         fluRegister->to(view);
     }
     view->setColor(QColor(Qt::transparent));
-    if(view->maximumWidth()==view->minimumWidth()&&view->maximumHeight()==view->minimumHeight()){
-        view->resize(view->minimumSize());
-    }
     view->show();
 }
 
diff --git a/src/WindowHelper.cpp b/src/WindowHelper.cpp
index 0d89d505..47070715 100644
--- a/src/WindowHelper.cpp
+++ b/src/WindowHelper.cpp
@@ -23,16 +23,24 @@ WindowHelper::WindowHelper(QObject *parent)
 
 void WindowHelper::initWindow(QQuickWindow* window){
     this->window = window;
+}
+
+void WindowHelper::firstUpdate(){
+    if(isFisrt){
 #ifdef Q_OS_WIN
-    if(FluTheme::getInstance()->frameless()){
-        HWND wnd = (HWND)window->winId();
-        SetWindowLongPtr(wnd, GWL_STYLE, static_cast<LONG>(Style::aero_borderless));
-        const MARGINS shadow_on = { 1, 1, 1, 1 };
-        DwmExtendFrameIntoClientArea(wnd, &shadow_on);
-        SetWindowPos(wnd, Q_NULLPTR, 0, 0, 0, 0, SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOSIZE);
-        ShowWindow(wnd, SW_SHOW);
-    }
+        if(FluTheme::getInstance()->frameless()){
+            HWND wnd = (HWND)window->winId();
+            SetWindowLongPtr(wnd, GWL_STYLE, static_cast<LONG>(Style::aero_borderless));
+            const MARGINS shadow_on = { 1, 1, 1, 1 };
+            DwmExtendFrameIntoClientArea(wnd, &shadow_on);
+            SetWindowPos(wnd, Q_NULLPTR, 0, 0, 0, 0, SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOSIZE);
+            ShowWindow(wnd, SW_SHOW);
+            window->setFlag(Qt::FramelessWindowHint,false);
+        }
 #endif
+        isFisrt = false;
+    }
+
 }
 
 QVariant WindowHelper::createRegister(const QString& path){
diff --git a/src/WindowHelper.h b/src/WindowHelper.h
index 23aa98e1..f5fb4f29 100644
--- a/src/WindowHelper.h
+++ b/src/WindowHelper.h
@@ -18,8 +18,11 @@ public:
     Q_INVOKABLE void destoryWindow();
     Q_INVOKABLE QVariant createRegister(const QString& path);
 
+    Q_INVOKABLE void firstUpdate();
+
 private:
     QQuickWindow* window;
+    bool isFisrt=true;
 };
 
 #endif // WINDOWHELPER_H
diff --git a/src/controls/FluWindow.qml b/src/controls/FluWindow.qml
index 376e0e60..b8adfa7e 100644
--- a/src/controls/FluWindow.qml
+++ b/src/controls/FluWindow.qml
@@ -32,6 +32,12 @@ ApplicationWindow {
         clip: true
     }
 
+    onActiveChanged: {
+        if(active){
+            helper.firstUpdate()
+        }
+    }
+
     onClosing:
         (event)=>{
             //销毁窗口,释放资源