Files

1 line
73 KiB
JavaScript
Raw Permalink Normal View History

2026-02-13 22:24:27 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1ab5e92d"],{"19aa":function(t,e,a){"use strict";var i=a("3a9b"),s=TypeError;t.exports=function(t,e){if(i(e,t))return t;throw new s("Incorrect invocation")}},"63d9":function(t,e,a){},8776:function(t,e,a){"use strict";a("63d9")},b7ef:function(t,e,a){"use strict";var i=a("23e7"),s=a("da84"),o=a("d066"),n=a("5c6c"),l=a("9bf2").f,r=a("1a2d"),d=a("19aa"),c=a("7156"),h=a("e391"),u=a("cf98"),p=a("0d26"),m=a("83ab"),g=a("c430"),y="DOMException",v=o("Error"),b=o(y),f=function(){d(this,w);var t=arguments.length,e=h(t<1?void 0:arguments[0]),a=h(t<2?void 0:arguments[1],"Error"),i=new b(e,a),s=new v(e);return s.name=y,l(i,"stack",n(1,p(s.stack,1))),c(i,this,f),i},w=f.prototype=b.prototype,x="stack"in new v(y),L="stack"in new b(1,2),M=b&&m&&Object.getOwnPropertyDescriptor(s,y),C=!!M&&!(M.writable&&M.configurable),_=x&&!C&&!L;i({global:!0,constructor:!0,forced:g||_},{DOMException:_?f:b});var S=o(y),D=S.prototype;if(D.constructor!==S)for(var T in g||l(D,"constructor",n(1,S)),u)if(r(u,T)){var k=u[T],R=k.s;r(S,R)||l(S,R,n(6,k.c))}},bd8c:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"test-container"},[e("div",{staticClass:"test-main"},[e("div",{staticClass:"control-panel"},[e("div",{staticClass:"panel-section"},[e("h3",[t._v("基础操作")]),e("div",{staticClass:"button-group"},[e("el-button",{attrs:{type:"primary"},on:{click:t.initMindMap}},[t._v("重新初始化")]),e("el-button",{attrs:{type:"success"},on:{click:t.loadSingleRoot}},[t._v("加载单根")]),e("el-button",{attrs:{type:"warning"},on:{click:t.loadMultiRoot}},[t._v("加载多根")]),e("el-button",{attrs:{type:"info"},on:{click:t.toggleMultiRootMode}},[t._v("切换模式")])],1)]),e("div",{staticClass:"panel-section"},[e("h3",[t._v("根节点操作")]),e("div",{staticClass:"button-group"},[e("el-button",{on:{click:t.addNewRoot}},[t._v("添加根节点")]),e("el-button",{on:{click:t.removeLastRoot}},[t._v("删除最后根节点")]),e("el-button",{on:{click:t.addRootWithCustomPosition}},[t._v("添加自定义位置根节点")])],1)]),e("div",{staticClass:"panel-section"},[e("h3",[t._v("关联线测试")]),e("div",{staticClass:"button-group"},[e("el-button",{attrs:{type:"primary"},on:{click:t.enterAssociativeMode}},[t._v("进入关联线模式")]),e("el-button",{attrs:{type:"success"},on:{click:t.createCrossRootAssociation}},[t._v("创建跨根关联线")]),e("el-button",{attrs:{type:"warning"},on:{click:t.showAllAssociations}},[t._v("显示所有关联线")]),e("el-button",{attrs:{type:"danger"},on:{click:t.clearAllAssociations}},[t._v("清除所有关联线")])],1)]),e("div",{staticClass:"panel-section"},[e("h3",[t._v("日志系统测试")]),e("div",{staticClass:"button-group"},[e("el-button",{attrs:{type:"primary"},on:{click:t.testLoggerDebug}},[t._v("测试 DEBUG")]),e("el-button",{attrs:{type:"success"},on:{click:t.testLoggerInfo}},[t._v("测试 INFO")]),e("el-button",{attrs:{type:"warning"},on:{click:t.testLoggerWarn}},[t._v("测试 WARN")]),e("el-button",{attrs:{type:"danger"},on:{click:t.testLoggerError}},[t._v("测试 ERROR")])],1),e("div",{staticClass:"button-group",staticStyle:{"margin-top":"10px"}},[e("el-button",{attrs:{type:"info"},on:{click:t.testClickableLinks}},[t._v("测试链接格式")]),e("el-button",{attrs:{type:"primary"},on:{click:t.detectEnvironment}},[t._v("检测环境")])],1),e("div",{staticClass:"association-tips"},[e("el-alert",{attrs:{title:"关联线使用提示",type:"info",closable:!1,"show-icon":""}},[e("p",[t._v("1. 先点击选择起始节点")]),e("p",[t._v('2. 点击"进入关联线模式"')]),e("p",[t._v("3. 再点击目标节点创建关联线")]),e("p",[t._v("4. 支持跨根节点创建关联线")]),e("p",[t._v("5. 按ESC退出关联线模式")])])],1)]),e("div",{staticClass:"panel-section"},[e("h3",[t._v("状态信息")]),e("div",{staticClass:"status-info"},[e("el-tag",{attrs:{type:t.isMultiRoot?"success":"info"}},[t._v(" 模式: "+t._s(t.isMultiRoot?"多根节点":"单根节点")+" ")]),e("el-tag",{attrs:{type:"pr