Skip to content

Commit c354cac

Browse files
author
Taois
committed
feat:修复已知问题
1 parent 8955b21 commit c354cac

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

dashboard/src/api/modules/module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ export const executeAction = async (module, data) => {
450450
timeout: 30000,
451451
headers: {
452452
'Accept': 'application/json',
453-
'Content-Type': 'application/json'
453+
'Content-Type': 'application/json;charset=UTF-8',
454454
}
455455
})
456456
console.log('API响应 (POST):', response.data)

dashboard/src/components/SearchResults.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,10 @@
6868
</div>
6969
<!-- 文件类型图标 (当vod_pic为空且是目录模式下的非文件夹项目时) -->
7070
<div v-else-if="isDirectoryFile(video)" class="file-icon-container">
71-
<i class="iconfont file-type-icon" :class="getFileTypeIcon(video.vod_name)"></i>
71+
<!-- <i class="iconfont file-type-icon" :class="getFileTypeIcon(video.vod_name)"></i>-->
72+
<svg style="width:30%">
73+
<use :href="`#${getFileTypeIcon(video.vod_name)}`"></use>
74+
</svg>
7275
</div>
7376
<!-- 默认图片 (当vod_pic为空且没有特殊标识时) -->
7477
<a-image

dashboard/src/components/VideoGrid.vue

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,16 @@
2525
<!-- 文件夹图标 (当vod_pic为空且是文件夹时) -->
2626
<div v-else-if="video.vod_tag && video.vod_tag.includes('folder')" class="folder-icon-container">
2727
<i class="iconfont icon-wenjianjia folder-icon"></i>
28+
<!-- <svg style="width:30%">-->
29+
<!-- <use :href="`#icon-wenjianjia`"></use>-->
30+
<!-- </svg>-->
2831
</div>
2932
<!-- 文件类型图标 (当vod_pic为空且是目录模式下的非文件夹项目时) -->
3033
<div v-else-if="video.vod_tag && !video.vod_tag.includes('folder')" class="file-icon-container">
31-
<i class="iconfont file-type-icon" :class="getFileTypeIcon(video.vod_name)"></i>
34+
<!-- <i class="iconfont file-type-icon" :class="getFileTypeIcon(video.vod_name)"></i>-->
35+
<svg style="width:30%">
36+
<use :href="`#${getFileTypeIcon(video.vod_name)}`"></use>
37+
</svg>
3238
</div>
3339
<!-- 默认图片 (当vod_pic为空且没有vod_tag时) -->
3440
<a-image
@@ -239,7 +245,7 @@ const handleT4ActionCall = async (actionName) => {
239245
currentActionData.value = result.action;
240246
showActionRenderer.value = true;
241247
} else if(result){
242-
showToast('执行源内搜索', 'success')
248+
showToast(result, 'success')
243249
}else {
244250
// 如果没有返回action配置,显示错误提示
245251
Message.error({

dashboard/src/components/actions/InputAction.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
</div>
6060
</div>
6161

62-
<!-- 输入区域 -->
62+
<!-- 输入区域 fixme 有二维码也要显示这个输入框-->
6363
<div v-if="!config.qrcode" class="input-section">
6464
<!-- 快速选择 - 在输入框上方 -->
6565
<div v-if="quickSelectOptions.length > 0" class="quick-select">

dashboard/src/components/actions/MenuAction.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ export default {
292292
default: ''
293293
}
294294
},
295-
emits: ['submit', 'cancel', 'close', 'action', 'toast', 'reset'],
295+
emits: ['submit', 'cancel', 'close', 'action', 'toast', 'reset', 'special-action'],
296296
setup(props, { emit }) {
297297
const router = useRouter()
298298
const selectedOptions = ref([])

0 commit comments

Comments
 (0)