添加文本预览、创建文件功能,调整通用智能布局,添加提示,修改第三方绑定及登录最长等待时间
This commit is contained in:
parent
3abec78c71
commit
751220d22b
|
|
@ -1005,6 +1005,10 @@ const getFileListData = async () => {
|
||||||
const HandleTextToDocFile = async () => {
|
const HandleTextToDocFile = async () => {
|
||||||
// 处理文本创建文件的逻辑
|
// 处理文本创建文件的逻辑
|
||||||
//console.log("文本创建文件:", textToDocFileName.value, vditor.value.getValue(), selectFileDocType.value);
|
//console.log("文本创建文件:", textToDocFileName.value, vditor.value.getValue(), selectFileDocType.value);
|
||||||
|
if (textToDocFileName.value.trim() === "") {
|
||||||
|
ElMessage.warning("文件名不能为空");
|
||||||
|
return;
|
||||||
|
}
|
||||||
let req = {
|
let req = {
|
||||||
token: localStorage.getItem("token"),
|
token: localStorage.getItem("token"),
|
||||||
file_name: textToDocFileName.value,
|
file_name: textToDocFileName.value,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue