摘要: 在这篇博客中我记载了使用 tui-image-editor这个组件,但是这里存在一个问题,如何判断图片加载完成? https://www.cnblogs.com/weiyanei/p/18193306 如下图所示,因为图片没有加载,所以我点击保存图片,即获取base64编码后保存,结果就是将一张完整 阅读全文
posted @ 2024-06-19 09:30 伟衙内 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 官网: http://jessibuca.com/document.html#window-jessibuca-is-not-a-constructor 使用环境 vue2, 第一步、需要如下三个文件, 第二步、在index.html中引入 jessibuca.js <script src="./j 阅读全文
posted @ 2024-06-04 15:07 伟衙内 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 如上图所示,制作一个悬浮图标,可以点击,可以拖拽到其他地方,兼容电脑手平板等。 <div style="display: inline;z-index:20" @click="showMessage" v-if="rightFlags.shareRight"> <img :src="require( 阅读全文
posted @ 2024-05-31 14:05 伟衙内 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 如何安装 tui-image-editor等就不再赘述,参考这篇博客即可, https://blog.csdn.net/weixin_44867717/article/details/128212251 简单版参考: https://blog.csdn.net/Bonsoir777/article/ 阅读全文
posted @ 2024-05-15 10:24 伟衙内 阅读(29) 评论(0) 推荐(0) 编辑
摘要: groovy 是当做一个脚本来用的,也可以从数据库加载代码做一些动态数据处理。 搭建一个spring boot环境,pom.xml中编辑器和jar包,spring boot是 2.1.6.RELEASE <dependency> <groupId>org.codehaus.groovy</group 阅读全文
posted @ 2024-04-18 11:59 伟衙内 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 如下所示,使用的iView组件,在Select标签中有两个Option,其中一个是全部选项,当点击全部的时候,就会选中所有的工厂,再次点击全部的时候,可以取消选择所有工厂,同时不影响单个点击工厂。 <Select :disabled="isUpdate == true" transfer multi 阅读全文
posted @ 2024-02-02 13:53 伟衙内 阅读(19) 评论(0) 推荐(0) 编辑
摘要: <table> <thead> <tr> <th></th> </tr> </thead> <tbody :ref="indexInfo.index_id" :id="indexInfo.index_id"> <tr> <td></td> </tr> </tbody> </table> 有上述一个h 阅读全文
posted @ 2023-12-14 13:46 伟衙内 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 如上图所示,这里报错 can't find Python executable "python",这个报错其实就是没有python环境,这里安装python 2.7版本即可,有人说3.0以上的python无效,我没试过。 https://www.python.org/downloads/releas 阅读全文
posted @ 2023-11-13 16:59 伟衙内 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 问题一 LoadAssetAtPath 返回空 public class ProcessModel : AssetPostprocessor { private void OnPostprocessModel(GameObject input) { if (input.name != "Enemy2 阅读全文
posted @ 2023-10-01 17:54 伟衙内 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 最近在看算法,想学习一下算法这玩意,虽然工作中很少用到。在《小灰的算法之旅》这本书中,有一个关于BitMap的算法。 早期接触过一点类似的,有人在数据库里面保存了一个字符串 000000000000000000,000000000001000001,这种,每一位代表一个含义,比如第一位为1表示这个用 阅读全文
posted @ 2023-09-19 10:18 伟衙内 阅读(8) 评论(0) 推荐(0) 编辑