From 26510a3eb48e97fe930923835dbcd54f16186e16 Mon Sep 17 00:00:00 2001
From: xugaoyi <894072666@qq.com>
Date: Thu, 14 Apr 2022 09:59:50 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8D=A1=E7=89=87=E5=AE=B9=E5=99=A8?=
=?UTF-8?q?=E9=93=BE=E6=8E=A5=E6=B7=BB=E5=8A=A0withBase?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
vdoing/index.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vdoing/index.js b/vdoing/index.js
index 2625795..d40b863 100644
--- a/vdoing/index.js
+++ b/vdoing/index.js
@@ -238,7 +238,7 @@ function getCardListDOM(dataList, row, config) {
let listDOM = ''
dataList.forEach(item => {
listDOM += `
- <${item.link ? 'a href="' + item.link + '" target="' + target + '"' : 'span'} class="card-item ${row ? 'row-' + row : ''}"
+ <${item.link ? 'a href="' + withBase(item.link) + '" target="' + target + '"' : 'span'} class="card-item ${row ? 'row-' + row : ''}"
style="${item.bgColor ? 'background-color:' + item.bgColor + ';--randomColor:' + item.bgColor + ';' : '--randomColor: var(--bodyBg);'}${item.textColor ? 'color:' + item.textColor + ';' : ''}"
>
${item.avatar ? '' : ''}
@@ -261,7 +261,7 @@ function getCardImgListDOM(dataList, row, config) {
dataList.forEach(item => {
listDOM += `