update: 协议管理、通道管理 上传文件获取base-path,todo

This commit is contained in:
jackhoo_98 2023-03-17 14:56:07 +08:00
parent 61b48b50ca
commit dda768e3bf
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ const handleChange = async (info: UploadChangeParam) => {
if (info.file.status === 'done') {
loading.value = false;
const result = info.file.response?.result;
const api: any = await querySystemApi(['paths']);
const api: any = await querySystemApi(['paths']); // todo base-pathpinia
const path = api.result[0]?.properties
? api.result[0]?.properties['base-path']
: '';

View File

@ -58,7 +58,7 @@ const handleChange = async (info: UploadChangeParam) => {
if (info.file.status === 'done') {
loading.value = false;
const result = info.file.response?.result;
const api: any = await querySystemApi(['paths']);
const api: any = await querySystemApi(['paths']); // todo base-pathpinia
const path = api.result[0]?.properties
? api.result[0]?.properties['base-path']
: '';