fix: 修复前端出图偶发样式清空

Status Job ID Name Coverage
  Install
passed #329728
civmanage allowed to fail manual
install

01:23

 
  Package
passed #329729
civmanage manual
package

08:23

 
  Push
failed #329730
civmanage
push_2021

00:02

passed #329731
civmanage
push_solution

00:42

 
Name Stage Failure
failed
push_2021 Push
fatal: Unable to create 'F:/CIV_CI/CivWebPublish2021_CIVWeb5/CivWebPublish2021/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
Cleaning up project directory and file based variables
ERROR: Job failed: exit status 1