宝塔面板webhook配置

#!/bin/bash # ========================== #【使用说明】 # 修改正确项目路径后根据前端项目配置打包和重启命令即可 # ========================== # 1. 切换到项目目录并拉取最新的代码 echo "切换到项目目录并拉取最新代码..." su - www -c "git -C /www/wwwro

- 阅读全文 -

代码收藏

<script setup lang="ts"> import { ref, computed, onMounted } from 'vue' import type { CSSProperties } from 'vue' import { debounce, useEventListener, useMutationObserver } from '../uti

- 阅读全文 -

随手记:一些Vue或Nuxt的Axios封装

虽然Nuxt3自带$fetch,但某些特定场景比如需要上传进度的文件上传功能需要用到axios标准函数方法,可能不适用于nuxt// utils/http.ts import type { AxiosInstance, AxiosRequestConfig, AxiosResponse, InternalAxiosRequestConfig, } from 'axi

- 阅读全文 -