diff --git a/dist.zip b/dist.zip new file mode 100644 index 0000000..2f39aa4 Binary files /dev/null and b/dist.zip differ diff --git a/src/views/component/barcode/barcode.vue b/src/views/component/barcode/barcode.vue index d8b45bd..e1b2dd5 100644 --- a/src/views/component/barcode/barcode.vue +++ b/src/views/component/barcode/barcode.vue @@ -1,13 +1,22 @@ @@ -16,6 +25,7 @@ const codeList = ref([ { id: 1, + tag: "svg", text: "SnowAdmin", docs: "CODE128-默认条形码", options: { @@ -25,6 +35,7 @@ const codeList = ref([ }, { id: 2, + tag: "svg", text: "SnowAdmin", docs: "自定义高度和颜色", options: { @@ -36,6 +47,7 @@ const codeList = ref([ }, { id: 3, + tag: "svg", text: "SnowAdmin", docs: "设置字体和倾斜", options: { @@ -47,6 +59,7 @@ const codeList = ref([ }, { id: 4, + tag: "svg", text: "SnowAdmin", docs: "CODE39-商品条形码", options: { @@ -56,6 +69,7 @@ const codeList = ref([ }, { id: 5, + tag: "svg", text: "6971318501227", docs: "EAN13-商品条形码", options: { @@ -65,6 +79,7 @@ const codeList = ref([ }, { id: 6, + tag: "svg", text: "123456789999", docs: "UPC-商品条形码", options: { @@ -73,6 +88,8 @@ const codeList = ref([ } } ]); + +const codeJson = computed(() => JSON.stringify(codeList.value, null, "\t"));