tmagic-editor/docs/assets/form-config_fields_link.md.CZP0Pwde.lean.js
2026-06-02 11:11:57 +00:00

2 lines
1.5 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{ax as l,al as t,z as p,A as e,B as i,R as h,b5 as r,O as a,J as k}from"./chunks/framework.V2ssSR2R.js";const B=JSON.parse('{"title":"Link 链接","description":"","frontmatter":{},"headers":[],"relativePath":"form-config/fields/link.md","filePath":"form-config/fields/link.md"}'),d={name:"form-config/fields/link.md"};function g(E,s,F,y,A,C){const n=t("demo-block");return e(),p("div",null,[s[2]||(s[2]=i("h1",{id:"link-链接",tabindex:"-1"},[a("Link 链接 "),i("a",{class:"header-anchor",href:"#link-链接","aria-label":"Permalink to “Link 链接”"},"")],-1)),s[3]||(s[3]=i("p",null,"用于显示,不可编辑",-1)),s[4]||(s[4]=i("h2",{id:"基础用法",tabindex:"-1"},[a("基础用法 "),i("a",{class:"header-anchor",href:"#基础用法","aria-label":"Permalink to “基础用法”"},"")],-1)),h(n,{type:"form",config:[{type:"link",name:"link",text:"链接",href:"https://tencent.github.io/tmagic-editor/playground/index.html#/"}]},{source:k(()=>[...s[0]||(s[0]=[i("p",null," 通过配置 href点击链接可跳转到指定地址。 ",-1)])]),_:1}),s[5]||(s[5]=i("h2",{id:"打开表单",tabindex:"-1"},[a("打开表单 "),i("a",{class:"header-anchor",href:"#打开表单","aria-label":"Permalink to “打开表单”"},"")],-1)),h(n,{type:"form",config:[{type:"link",name:"link",text:"链接",form:[{name:"text",text:"input"}]}]},{source:k(()=>[...s[1]||(s[1]=[i("p",null," 通过配置 form点击链接打开一个弹窗表单进行编辑。 ",-1)])]),_:1}),s[6]||(s[6]=r("",4))])}const c=l(d,[["render",g]]);export{B as __pageData,c as default};