mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-24 18:22:55 +08:00
fix:修改未审核课程预览附件名称显示问题
This commit is contained in:
@@ -2119,7 +2119,7 @@
|
||||
item.indexOf("-") !== -1
|
||||
? item.slice(
|
||||
item.lastIndexOf("/") + 1,
|
||||
item.indexOf("-")
|
||||
item.lastIndexOf("-")
|
||||
) + item.slice(item.lastIndexOf("."))
|
||||
: item
|
||||
}}
|
||||
@@ -3274,16 +3274,16 @@ const columns7 = [
|
||||
return text ? text : "-";
|
||||
},
|
||||
},
|
||||
// {
|
||||
// title: "岗位",
|
||||
// width: 300,
|
||||
// dataIndex: "postion",
|
||||
// key: "3",
|
||||
// align: "center",
|
||||
// customRender: ({ text }) => {
|
||||
// return text ? text : "-";
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// title: "岗位",
|
||||
// width: 300,
|
||||
// dataIndex: "postion",
|
||||
// key: "3",
|
||||
// align: "center",
|
||||
// customRender: ({ text }) => {
|
||||
// return text ? text : "-";
|
||||
// },
|
||||
// },
|
||||
{
|
||||
title: "Band",
|
||||
width: 200,
|
||||
|
||||
@@ -224,7 +224,7 @@
|
||||
item.indexOf("-") !== -1
|
||||
? item.slice(
|
||||
item.lastIndexOf("/") + 1,
|
||||
item.indexOf("-")
|
||||
item.lastIndexOf("-")
|
||||
) + item.slice(item.lastIndexOf("."))
|
||||
: item
|
||||
}}
|
||||
@@ -410,8 +410,14 @@ export default defineComponent({
|
||||
],
|
||||
},
|
||||
],
|
||||
ceshi: "https://u-pre.boe.com/upload/测试下载ppt2-1671002026755.pptx",
|
||||
ceshi2: "http://111.231.196.214:12016/测试下载ppt3-1671001683026.pptx",
|
||||
});
|
||||
console.log("detail", props.detail);
|
||||
|
||||
// item.slice(
|
||||
// item.lastIndexOf("/") + 1,
|
||||
// item.indexOf("-")
|
||||
// ) + item.slice(item.lastIndexOf("."))
|
||||
const filterTxt = (txt) => {
|
||||
if (txt) {
|
||||
return txt;
|
||||
|
||||
Reference in New Issue
Block a user