diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 833c7b7..e87f8ac 100755 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -36,16 +36,6 @@ jobs: echo -n "提交消息: ${{ github.event.head_commit.message }}">> notify.tpl cat notify.tpl | envsubst | jq -sR . | xargs -0 -I {} curl -H "Content-Type: application/json" -X POST -d '{"type":"text","msg":{} }' https://amass.fun/notify - run: resources/build.sh build - - name: Copy wt resources to server - uses: appleboy/scp-action@v0.1.7 - with: - host: ${{ vars.YUYUN_SERVER }} - username: ${{ vars.YUYUN_USER }} - password: ${{ secrets.SERVER_ROOT_PASSWORD }} - overwrite: true - strip_components: 6 - source: /opt/Libraries/wt-4.11.1/share/Wt/resources/* - target: /root/Server/resources - name: Copy app wt resources to server uses: appleboy/scp-action@v0.1.7 with: diff --git a/WebApplication/Dialog.cpp b/WebApplication/Dialog.cpp index 32d7bca..49bb6c6 100644 --- a/WebApplication/Dialog.cpp +++ b/WebApplication/Dialog.cpp @@ -36,7 +36,7 @@ void Dialog::setStatus(const Wt::WString &result) { } void Dialog::messageBox1() { - Wt::WMessageBox::show("信息", "这是一个对话框示例。", Wt::StandardButton::Ok); + Wt::WMessageBox::show("信息", "这是一个对话框示例。 ", Wt::StandardButton::Ok); setStatus("Ok'ed"); }