摘要: Editor.vue: 1 <template> 2 <div class="mavonEditor"> 3 <mavon-editor 4 ref="md" 5 @imgAdd="$imgAdd" 6 @imgDel="$imgDel" 7 :ishljs="true" 8 :html="open 阅读全文
posted @ 2024-04-15 00:46 童心小城 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 方法一: <mavon-editor :value="competDetail.content" :subfield="false" :defaultOpen="'preview'" :toolbarsFlag="false" :boxShadow="false" :transition="fals 阅读全文
posted @ 2024-03-01 00:40 童心小城 阅读(16) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/wangyan0926/p/14634613.html 阅读全文
posted @ 2021-12-24 16:45 童心小城 阅读(327) 评论(0) 推荐(0) 编辑
摘要: useMemo 和 useCallback 接收的参数都是一样,第一个参数为回调 第二个参数为要依赖的数据 共同作用:1.仅仅 依赖数据 发生变化, 才会重新计算结果,也就是起到缓存的作用。 两者区别:1.useMemo 计算结果是 return 回来的值, 主要用于 缓存计算结果的值 ,应用场景如 阅读全文
posted @ 2021-11-11 17:58 童心小城 阅读(564) 评论(0) 推荐(0) 编辑
摘要: 修改前: 修改后: 代码片段: <Form name="basic5" initialValues={{ remember: true }} onFinish={onFinish} onFinishFailed={onFinishFailed} size="large" form={form} la 阅读全文
posted @ 2021-04-23 10:42 童心小城 阅读(8930) 评论(0) 推荐(0) 编辑
摘要: { "editor.fontSize": 18, "files.autoSave": "onFocusChange", "editor.wordWrap": "on", "editor.detectIndentation": false, "editor.tabSize": 2, "window.z 阅读全文
posted @ 2021-03-09 16:28 童心小城 阅读(1057) 评论(0) 推荐(0) 编辑
摘要: .bg{ width:100%; height:200px; background-image:url('./bg.png') no-repeat bottom center fixed; background-size:cover; } 阅读全文
posted @ 2019-05-17 16:11 童心小城 阅读(492) 评论(0) 推荐(0) 编辑
摘要: Echarts雷达图中indicator的点击事件,代码如下: 按照以往的方法,改变data中的值是:this.dataValue = params.name;发现是改变不了data中的值。解决方法如下: 阅读全文
posted @ 2019-05-06 16:24 童心小城 阅读(3535) 评论(1) 推荐(1) 编辑
摘要: https://blog.csdn.net/kebi007/article/details/68488694 阅读全文
posted @ 2019-04-11 11:00 童心小城 阅读(358) 评论(0) 推荐(0) 编辑
摘要: vue中,a页面向b页面通过路由传一个整数型的数值,在b页面刷新一次过后,整数型的数值变成字符串的类型。这种情况是正常的吗? 阅读全文
posted @ 2019-04-02 14:22 童心小城 阅读(622) 评论(0) 推荐(0) 编辑