mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2026-12-02 01:37:29 +08:00
15 lines
759 B
JavaScript
15 lines
759 B
JavaScript
import{It as e,Mt as t,Pt as n,en as r,in as i,n as a}from"./chunks/framework.Bsm9PduU.js";var o=JSON.parse(`{"title":"联动原理","description":"","frontmatter":{},"headers":[],"relativePath":"guide/advanced/coupling.md","filePath":"guide/advanced/coupling.md"}`),s={name:`guide/advanced/coupling.md`};function c(a,o,s,c,l,u){let d=i(`demo-block`);return r(),t(`div`,null,[o[0]||=n("",6),e(d,{type:`form`,config:`[{
|
|
text: '文本',
|
|
name: 'text'
|
|
}, {
|
|
type: 'select',
|
|
text: '下拉选项',
|
|
name: 'select',
|
|
options: [
|
|
{ text: '选项1', value: 1 },
|
|
{ text: '选项2', value: 2 }
|
|
],
|
|
onChange: (vm, value, { model }) => {
|
|
model.text = value;
|
|
}
|
|
}]`}),o[1]||=n("",23)])}var l=a(s,[[`render`,c]]);export{o as __pageData,l as default}; |