mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2026-09-15 16:38:48 +00:00
15 lines
759 B
JavaScript
15 lines
759 B
JavaScript
import{H as e,It as t,Mt as n,dt as r,lt as i,pt as a}from"./chunks/framework.BTDV-FQ9.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(e,o,s,c,l,u){let d=t(`demo-block`);return n(),i(`div`,null,[o[0]||=r("",6),a(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]||=r("",23)])}var l=e(s,[[`render`,c]]);export{o as __pageData,l as default}; |