Skip to content

Commit

Permalink
Allow spaces around cells
Browse files Browse the repository at this point in the history
  • Loading branch information
xingrz committed Apr 6, 2024
1 parent bf81c08 commit 485bdd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/BSMap/BSCell.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const ratio = ref(1);
const parts = computed(() => {
if (!props.src) return;
const [nonParam, ...params] = props.src.split('!_');
const [nonParam, ...params] = props.src.trim().split('!_');
const [nonLink, ...links] = nonParam.split('!@');
const icons = nonLink.split('!~').filter((icon) => !!icon);
Expand Down

0 comments on commit 485bdd1

Please sign in to comment.