Giter Site home page Giter Site logo

vue-esign's People

Contributors

jaimecheng avatar lanjiannull avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vue-esign's Issues

组件销毁后resize事件未删除

vue3中组件销毁前的回调是bedoreUnMount,但是源码中使用的仍然是bedoreDestroy,导致removeEvents方法没有生效,resize方法没有删除,改变视口大小时,后台会一直报错。

Add placeholder

Hope to add default text,
期望增加默认文字,

Or, return to hasdrew to determine whether it is displayed
或者,返回hasDrew,自己判断是否显示placeholder
hasDrew(newVal){ this.$emit('hasDrew',newVal) }
image

vit3.0 vue 打包报错

项目能够正常运行,但是在打包的时候报错
'openBlock' is not exported by node_modules/vue-esign/node_modules/vue/dist/vue.runtime.esm.js, imported by node_modules/vue-esign/src/index.vue
file: D:/work/test/datagovern-ui/node_modules/vue-esign/src/index.vue:278:9
276: }
277:
278: import { openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue"
^
279:
280: function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
error during build:
Error: 'openBlock' is not exported by node_modules/vue-esign/node_modules/vue/dist/vue.runtime.esm.js, imported by node_modules/vue-esign/src/index.vue
at error (file:///D:/work/test/datagovern-ui/node_modules/rollup/dist/es/shared/rollup.js:1858:30)
at Module.error (file:///D:/work/test/datagovern-ui/node_modules/rollup/dist/es/shared/rollup.js:12412:16)
at Module.traceVariable (file:///D:/work/test/datagovern-ui/node_modules/rollup/dist/es/shared/rollup.js:12771:29)
at ModuleScope.findVariable (file:///D:/work/test/datagovern-ui/node_modules/rollup/dist/es/shared/rollup.js:11423:39)
at FunctionScope.findVariable (file:///D:/work/test/datagovern-ui/node_modules/rollup/dist/es/shared/rollup.js:6355:38)
at ChildScope.findVariable (file:///D:/work/test/datagovern-ui/node_modules/rollup/dist/es/shared/rollup.js:6355:38) at Identifier.bind (file:///D:/work/test/datagovern-ui/node_modules/rollup/dist/es/shared/rollup.js:7422:40)
at CallExpression.bind (file:///D:/work/test/datagovern-ui/node_modules/rollup/dist/es/shared/rollup.js:5252:23)
at CallExpression.bind (file:///D:/work/test/datagovern-ui/node_modules/rollup/dist/es/shared/rollup.js:8918:15)
at SequenceExpression.bind (file:///D:/work/test/datagovern-ui/node_modules/rollup/dist/es/shared/rollup.js:5248:73)

typescript版本

你好,我这边有需求使用到你提供的技术,但我没找到有对应的typescript版。因此我参照你们的重写了一份typesrcirpt版本的,如果你们需要,可以从地址拉去

Vue3.2 + Vite 打包报错 openBlock' is not exported by

首先感谢作者提供的签名插件,很好用,不过发生了很尴尬的事情

当前环境:Vue 3.2.25,Vite 2.8.0

Vite 打包报错

'openBlock' is not exported by node_modules/vue-esign/node_modules/vue/dist/vue.runtime.esm.js, imported by node_modules/vue-esign/src/index.vue import { openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue" ^ 269: 270: function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { error during build: Error: 'openBlock' is not exported by node_modules/vue-esign/node_modules/vue/dist/vue.runtime.esm.js, imported by node_modules/vue-esign/src/index.vue

是因为插件包用的Vue是2.x版本吗

手写签名偏移过大

使用vue-esign 时,手机侧向,第一个字便宜正常,第二个就偏移过大, 使用得是demo实例

nuxt+vue-esign打包问题请教?

RollupError: Unexpected token (Note that you need plugins to import files that are not JavaScript) nitro 15:51:31

1:
^
2: <canvas ref="canvas" @mousedown="mouseDown" @mousemove="mouseMove" @mouseup="mouseUp"
3: @touchstart="touchStart" @touchmove="touchMove" @touchend="touchEnd">

ERROR Unexpected token (Note that you need plugins to import files that are not JavaScript)

这个问题是问题nuxt使用的vue3的语法,vue-esign使用vue2导致的吗?有木有解决方案呢。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.