From 12a89593d13fa38810c7af54c7ea8cb72ae65a10 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期二, 14 一月 2025 14:56:45 +0800 Subject: [PATCH] 使用 url 参数传 session --- scripts/dev.js | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/dev.js b/scripts/dev.js index f2a3a3e..c3983b4 100644 --- a/scripts/dev.js +++ b/scripts/dev.js @@ -1,9 +1,10 @@ -const { copyFile,customerList ,checkCustomer,changeBranch} = require('./helper'); +const { copyFile, checkCustomer, firstCustomerName, isPro,changeBranch } = require('./helper'); const { execSync } = require('child_process'); -const customer = customerList[0]?.split(':')[0]; -checkCustomer('npm run dev', customer); changeBranch(); -copyFile('npm run dev'); + +checkCustomer('npm run dev', firstCustomerName); + +copyFile(); try { execSync('vite', { stdio: 'inherit' }); -- Gitblit v1.9.3