@@ -88,8 +89,8 @@ import { sharesApi } from '/@/api/service/shares';
import { ElMessage, ElMessageBox, TableColumnCtx } from 'element-plus';
// 引入组件
-const MessageDialog = defineAsyncComponent(() => import('/@/views/message/dialog.vue'));
-const messageDialogRef = ref();
+// const MessageDialog = defineAsyncComponent(() => import('/@/views/message/dialog.vue'));
+// const messageDialogRef = ref();
// 表格数据
const state = reactive({
@@ -117,7 +118,7 @@ const state = reactive({
// 状态列表
const statusList = ref([
- {label: '未发布', value: 0},
+ // {label: '未发布', value: ''},
{label: '审核中', value: 1},
{label: '通过', value: 2},
{label: '未通过', value: 3},
@@ -154,9 +155,9 @@ const reset = () =>{
}
// 文章详情
-const toShowDetail = (id: any) => {
- messageDialogRef.value.openDialog(id);
-}
+// const toShowDetail = (id: any) => {
+// messageDialogRef.value.openDialog(id);
+// }
const replayFormRef = ref();
diff --git a/src/views/video/component/upload.vue b/src/views/video/component/upload.vue
index e22025a..b8b667b 100644
--- a/src/views/video/component/upload.vue
+++ b/src/views/video/component/upload.vue
@@ -169,7 +169,7 @@ const getVideoDetail = async () => {
// 下面这里处理一下,因为后端返回的是0和1,而前端需要的是true和false,到时候提交的时候再转换回来
// 这个报错没关系的,只是ts的语法检查,不影响运行
if (state.data.path) {
- const never: any = [{ name: state.data.name, url: viteUrl + state.data.path }];
+ const never: any = [{ name: state.data.name, url: state.data.path }];
state.fileArray = never;
state.coverHide = true;
}