complete strings document, adjust structure

This commit is contained in:
2023-03-31 09:10:13 +08:00
parent 877e9e7208
commit b04917109d
12 changed files with 94 additions and 15 deletions

View File

@ -5,7 +5,7 @@ function createUse(type, id) {
const path = c.path || '';
const ver = c.resver == null ? '' : `?${c.resver}`;
const use = document.createElementNS(svgns, 'use');
use.setAttributeNS('http://www.w3.org/1999/xlink', 'xlink:href', `${path}lib/fonts/${type}.svg${ver}#${id}`);
use.setAttributeNS('http://www.w3.org/1999/xlink', 'xlink:href', `${path}fonts/${type}.svg${ver}#${id}`);
return use;
}