docs: explain navigation, search and content components

This commit is contained in:
cieanyau committed 2026-11-06 00:37:46 +08:00
1 parent 2ff311005e
commit 179c6febf0
10 files changed
+34

No files matched your search

+3
View File
@@ -1,4 +1,5 @@
<script>
// 通用单文件上传字段:模型保存后台 save_name,界面另外保留用户选择的原始文件名。
import "~/assets/styles/UploadField.BbTCTv6C.css";
import { toDisplayString } from "vue";
import { mergeModels } from "vue";
@@ -64,6 +65,7 @@ var m = {
w = ref(!1),
T = ref(``),
E = ref(``);
// 上传结束后清空原生 input,允许再次选择同一文件;完整响应由 uploaded 事件交给调用方。
async function D(e) {
let t = e.target,
n = t.files?.[0];
@@ -79,6 +81,7 @@ var m = {
}
}
}
// 清除只是取消表单引用,不调用服务器删除文件接口。
function O() {
((p.value = ``), (E.value = ``));
}