refactor(webapp): 更新 API地址并优化代码
-将本地 API 地址替换为阿里云服务器地址 - 更新 HTML 文件中的脚本和样式链接- 优化 manage.vue 文件中的导入路径和类型定义 - 移除 report.vue 中的冗余 alert
This commit is contained in:
1 parent
31404cf225
commit
40367a4e12
9 files changed
+522
-521
No files matched your search
@@ -19,7 +19,7 @@ import {baseURL} from "../../utils/baseurl.ts";
|
||||
|
||||
const fileType = ref<string>('img')
|
||||
onMounted(() => {
|
||||
alert(props.filePath)
|
||||
// alert(props.filePath)
|
||||
if(props.filePath){
|
||||
fileType.value = props.filePath.split('.').pop() ==='pdf'?'pdf':'img'
|
||||
request.get('/verify?filePath='+encodeURIComponent(props.filePath)).then((res) => {
|
||||
|
||||
Reference in new issue
Block a user