Git Product home page Git Product logo

vux-uploads's People

Contributors

wxingheng avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

vux-uploads's Issues

编译报错 Module build failed: Error: Couldn't find preset "es2015" relative to directory

编译报错了,是不是跟目前的vux版本配置不兼容啊,vux用的好像是env stage-2 不是es2015哦,请问这个怎么解决?

ERROR Failed to compile with 2 errors 17:58:11
error in ./node_modules/vux-uploads/src/components/uploader.vue

Module build failed: Error: Couldn't find preset "es2015" relative to directory "D:\code\erp-mobile\node_modules\vux-uploads"
at D:\code\erp-mobile\node_modules\babel-core\lib\transformation\file\options\option-manager.js:293:19
at Array.map ()
at OptionManager.resolvePresets (D:\code\erp-mobile\node_modules\babel-core\lib\transformation\file\options\option-manager.js:275:20)
at OptionManager.mergePresets (D:\code\erp-mobile\node_modules\babel-core\lib\transformation\file\options\option-manager.js:264:10)
at OptionManager.mergeOptions (D:\code\erp-mobile\node_modules\babel-core\lib\transformation\file\options\option-manager.js:249:14)
at OptionManager.init (D:\code\erp-mobile\node_modules\babel-core\lib\transformation\file\options\option-manager.js:368:12)
at File.initOptions (D:\code\erp-mobile\node_modules\babel-core\lib\transformation\file\index.js:212:65)
at new File (D:\code\erp-mobile\node_modules\babel-core\lib\transformation\file\index.js:135:24)
at Pipeline.transform (D:\code\erp-mobile\node_modules\babel-core\lib\transformation\pipeline.js:46:16)
at transpile (D:\code\erp-mobile\node_modules\babel-loader\lib\index.js:50:20)
at Object.module.exports (D:\code\erp-mobile\node_modules\babel-loader\lib\index.js:173:20)

@ ./node_modules/vux-uploads/src/components/uploader.vue 8:0-180
@ ./node_modules/vux-uploads/src/main.js
@ ./node_modules/babel-loader/lib!./node_modules/vux-loader/src/script-loader.js!./node_modules/vux-loader/src/script-loader.js!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/components/Product/ProductLibrary/AddCombine.vue
@ ./src/components/Product/ProductLibrary/AddCombine.vue
@ ./src/router/routes.js
@ ./src/router/index.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:3003 webpack/hot/dev-server ./src/main.js

error in ./node_modules/vux-uploads/src/components/uploader.vue

没有删除功能

期望表现

上传图片后可删除

实际结果

查看源码发现无删除功能

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.