From a7d3ff00050d5363a27bccdb4efd4846c9583753 Mon Sep 17 00:00:00 2001 From: fantasticit Date: Sat, 30 Apr 2022 22:07:02 +0800 Subject: [PATCH] Delete excel.tsx --- packages/client/src/pages/feature/excel.tsx | 39 --------------------- 1 file changed, 39 deletions(-) delete mode 100644 packages/client/src/pages/feature/excel.tsx diff --git a/packages/client/src/pages/feature/excel.tsx b/packages/client/src/pages/feature/excel.tsx deleted file mode 100644 index 5201731f..00000000 --- a/packages/client/src/pages/feature/excel.tsx +++ /dev/null @@ -1,39 +0,0 @@ -import type { NextPage } from 'next'; -import React, { useEffect, useMemo, useRef } from 'react'; -import { SingleColumnLayout } from 'layouts/single-column'; - -const Page: NextPage = () => { - const $container = useRef(); - - useEffect(() => { - import('mind-elixir').then((module) => { - const MindElixir = module.default; - const ME = new MindElixir({ - el: '#js-mind-map', - direction: MindElixir.LEFT, - data: { nodeData: { id: '078b6f27dc8acf92', topic: '中心节点', root: true, children: [] }, linkData: {} }, - draggable: true, // default true - contextMenu: true, // default true - toolBar: true, // default true - nodeMenu: false, // default true - keypress: true, // default true - locale: 'zh_CN', - }); - ME.init(); - - setTimeout(() => { - console.log(ME, ME.getAllData()); - }, 1000); - }); - }, []); - - return ( - -
- 1 -
-
- ); -}; - -export default Page;