fix: debug
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { reactive } from 'vue'
|
import { reactive } from 'vue'
|
||||||
import DetailHeader from '@/components/Layout/DetailHeader/DetailHeader.vue'
|
import DetailHeader from '@/components/Layout/DetailHeader/DetailHeader.vue'
|
||||||
import { copy } from '@/utils/string'
|
// import { copy } from '@/utils/string'
|
||||||
const info = reactive({
|
const info = reactive({
|
||||||
title: "ASCII码表",
|
title: "ASCII码表",
|
||||||
})
|
})
|
||||||
@@ -271,9 +271,9 @@ const tableDataNonStandard = reactive([
|
|||||||
])
|
])
|
||||||
|
|
||||||
//copy
|
//copy
|
||||||
const copyRes = async (resStr: string) => {
|
// const copyRes = async (resStr: string) => {
|
||||||
copy(resStr)
|
// copy(resStr)
|
||||||
}
|
// }
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { reactive } from 'vue'
|
import { reactive } from 'vue'
|
||||||
import DetailHeader from '@/components/Layout/DetailHeader/DetailHeader.vue'
|
import DetailHeader from '@/components/Layout/DetailHeader/DetailHeader.vue'
|
||||||
import { copy } from '@/utils/string'
|
// import { copy } from '@/utils/string'
|
||||||
const info = reactive({
|
const info = reactive({
|
||||||
title: "tool name",
|
title: "tool name",
|
||||||
})
|
})
|
||||||
|
|
||||||
//copy
|
//copy
|
||||||
const copyRes = async (resStr: string) => {
|
// const copyRes = async (resStr: string) => {
|
||||||
copy(resStr)
|
// copy(resStr)
|
||||||
}
|
// }
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ const info = reactive({
|
|||||||
size: '200',
|
size: '200',
|
||||||
sizeSelect: '',
|
sizeSelect: '',
|
||||||
margin: 1,
|
margin: 1,
|
||||||
fileList: [],
|
fileList: <string[]>[],
|
||||||
fileUrl: '',
|
fileUrl: '',
|
||||||
preColor: '#000',
|
preColor: '#000',
|
||||||
bgColor: '#fff',
|
bgColor: '#fff',
|
||||||
@@ -37,7 +37,7 @@ const setQRSize = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const handleChange = (file: UploadFile) => {
|
const handleChange = (file: UploadFile) => {
|
||||||
info.fileList.push(file.url)
|
info.fileList.push(file.url as string)
|
||||||
info.fileUrl = info.fileList[0] ?? ''
|
info.fileUrl = info.fileList[0] ?? ''
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -140,7 +140,7 @@ const gen = () => {
|
|||||||
<el-button type="primary" @click="gen">生成二维码</el-button>
|
<el-button type="primary" @click="gen">生成二维码</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="w-[200px] h-[200px]">
|
||||||
<QRCodeVue3
|
<QRCodeVue3
|
||||||
:key="info.qrKey"
|
:key="info.qrKey"
|
||||||
:width="info.width"
|
:width="info.width"
|
||||||
|
|||||||
+2
-1
@@ -29,7 +29,8 @@
|
|||||||
"@/*": ["src/*"]
|
"@/*": ["src/*"]
|
||||||
},
|
},
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
|
"noImplicitAny": false,
|
||||||
},
|
},
|
||||||
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
|
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.ts*", "src/**/*.vue"],
|
||||||
"references": [{ "path": "./tsconfig.node.json" }]
|
"references": [{ "path": "./tsconfig.node.json" }]
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -6,5 +6,5 @@
|
|||||||
"moduleResolution": "bundler",
|
"moduleResolution": "bundler",
|
||||||
"allowSyntheticDefaultImports": true
|
"allowSyntheticDefaultImports": true
|
||||||
},
|
},
|
||||||
"include": ["vite.config.ts", "./src/router/router.ts", "./ssr.config.ts"]
|
"include": ["vite.config.ts", "./ssr.config.ts"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user