docs: explain configuration inputs and authentication components
This commit is contained in:
1 parent
dc32a74d7a
commit
3a53d2e58f
19 files changed
+72
No files matched your search
@@ -1,4 +1,5 @@
|
||||
<script>
|
||||
/** 按商品 fields 渲染订购信息;explain 只读,其他字段按 id 写入父级 modelValue。 */
|
||||
import "~/assets/styles/ProductCustomFields.B2QMnPil.css";
|
||||
import { toDisplayString } from "vue";
|
||||
import { renderList } from "vue";
|
||||
@@ -46,6 +47,7 @@ var _ = {
|
||||
S = f,
|
||||
C = computed(() => x.fields.filter((e) => e.kind !== `explain`));
|
||||
function w(e, t) {
|
||||
// 后端自定义字段采用字符串值;复制对象更新,不能直接修改父级传入的对象。
|
||||
S(`update:modelValue`, {
|
||||
...x.modelValue,
|
||||
[e]: t == null ? `` : String(t),
|
||||
|
||||
Reference in new issue
Block a user