极度缺人中,有没有想来一起写代码的,具体内容见 字节跳动-校招&社招-必读
panjiachen / electron-vue-admin Goto Github PK
View Code? Open in Web Editor NEWvue electron admin template web: http://panjiachen.github.io/vue-admin-template
vue electron admin template web: http://panjiachen.github.io/vue-admin-template
极度缺人中,有没有想来一起写代码的,具体内容见 字节跳动-校招&社招-必读
When I try to sign in using the default credentials (admin/admin), the request fails after a few seconds with a timeout of 15000ms exceeded
error. This happen both in the web app and the desktop app.
Good day . Please I am trying to login on the following app electron-vue-admin. But I keep getting the bellow. I have try several thing but no result
When false, the template is not compiled
router:
{
path: '',
name:'home',
component: home,
redirect: '/home',
hidden:true,
children:[{
path:'home',
component:()=>import("@/view/waterMonitoring/index"),
meta: { title: '水质检验日报表', icon: 'fa fa-flask' },
}]
} ,
我想要根据权限动态添加路由,但是执行了router.addRoutes(asyncRouterMap)也没效果,潘大能帮忙解疑吗?
我根据原先的教程,走到权限文件时,无法找到
store/permission.js
或
store/modules/permission.js
但教程 https://segmentfault.com/a/1190000009506097 一直在说这文件,我很困惑...
proxyTable: {
'/api': {
target: 'http://47.75.17.17/', // 接口的域名
// secure: false, // 如果是https接口,需要配置这个参数
changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
pathRewrite: {
'^/api': ''
}
}
},
用的桌面端proxyTable配置代理不生效,
同样的配置下却在vue-element-admin 却可以跨域访问。
有什么升级计划吗
花裤衩 : 大神 windows 打包该怎么弄
感谢作者, svg图片失效
大佬,我现在的现象是,我在主窗体有新打开窗口的需求,然后通过新窗口去干其他事儿。我现在在开发环境下,我登陆后,permission.js输出token是有值的,打开新窗体token也有值。但是我打包后,在打开新窗体时,permission.js输出token就没有了,我想问下,这个cookie是不是要由electron来控制。还是有其他办法
在极少数情况下,登陆后访问菜单一直报这个错:[Vue warn]: Error in render: "RangeError: Maximum call stack size exceeded",直接表象是element的select组件整个都不显示了,请问有没有人遇到这个问题呢
我是在win7 64环境下进行开发,build打包后放到windows 32位操作系统无法打开,请问如何解决?如何位windows32位的操作系统打包?
控制窗口大小 设置不了
文件路径: /app/src/renderer/main.js:30
此处为: const roles = res.data.role;
现应为:const roles = res.data.roles;
可能是服务端返回的命名变了吧?
请问有没有大佬把tagesview 迁移到桌面端后端逻辑,求借鉴
config/index.js 中 build
assetsPublicPath: '/',
'/'无法build
改成'./'也不行请问该如何操作这一个
大佬何时更新electron-vue至4版本
重现步骤:
build失败, log如下
OKAY take it away electron-builder
• electron-builder version=19.56.2
• loaded configuration file=package.json ("build" field)
• writing effective config file=build\electron-builder.yaml
• no native production dependencies
• packaging platform=win32 arch=x64 electron=1.8.8 appOutDir=build\win-unpacked
• building target=nsis file=build\electron-vue-admin Setup 3.0.0.exe archs=x64 oneClick=true
Error: C:\Users\i068992\AppData\Local\electron-builder\cache\nsis\nsis-3.0.1.13\Bin\makensis.exe exited with code 1
Output:
Command line defined: "APP_ID=org.simulatedgreg.electron-vue"
Command line defined: "APP_GUID=62e3eecb-e013-549b-8222-3caf500ba8f3"
Command line defined: "PRODUCT_NAME=electron-vue-admin"
Command line defined: "PRODUCT_FILENAME=electron-vue-admin"
Command line defined: "APP_FILENAME=electron-vue-admin"
Command line defined: "APP_DESCRIPTION=An electron-vue project"
Command line defined: "VERSION=3.0.0"
Command line defined: "PROJECT_DIR=C:\Project\HCP\Samsung\Jira\clean\electron-vue-admin"
Command line defined: "BUILD_RESOURCES_DIR=C:\Project\HCP\Samsung\Jira\clean\electron-vue-admin\build"
Command line defined: "MUI_ICON=C:\Project\HCP\Samsung\Jira\clean\electron-vue-admin\build\icons\icon.ico"
Command line defined: "MUI_UNICON=C:\Project\HCP\Samsung\Jira\clean\electron-vue-admin\build\icons\icon.ico"
Command line defined: "APP_64=C:\Project\HCP\Samsung\Jira\clean\electron-vue-admin\build\electron-vue-admin-3.0.0-x64.nsis.7z"
Command line defined: "APP_64_NAME=electron-vue-admin-3.0.0-x64.nsis.7z"
Command line defined: "APP_64_HASH=7F0081656AC728D53439E3E47AAF141142E5A8C0A66CE0FADA8BED87F29771252B3D504FE4EF370188520E840C4FD626253CF57181BA4BADCCC0B49D43992CFD"
Command line defined: "COMPANY_NAME=Pan"
Command line defined: "APP_INSTALLER_STORE_FILE=electron-vue-admin\installer.exe"
Command line defined: "COMPRESSION_METHOD=7z"
Command line defined: "ONE_CLICK"
Command line defined: "RUN_AFTER_FINISH"
Command line defined: "SHORTCUT_NAME=electron-vue-admin"
Command line defined: "UNINSTALL_DISPLAY_NAME=electron-vue-admin 3.0.0"
Command line defined: "COMPRESS=auto"
Command line defined: "UNINSTALLER_OUT_FILE=C:\Project\HCP\Samsung\Jira\clean\electron-vue-admin\build.__uninstaller-nsis-electron-vue-admin.exe"
Processing config: C:\Users\i068992\AppData\Local\electron-builder\cache\nsis\nsis-3.0.1.13\nsisconf.nsh
Processing script file: "" (ACP)
Processed 1 file, 10 command line commands, writing output (x86-unicode):
Output: "C:\Project\HCP\Samsung\Jira\clean\electron-vue-admin\build\electron-vue-admin Setup 3.0.0.exe"
Error output:
Can't open output file
Error - aborting creation process
at ChildProcess.childProcess.once.code (C:\Project\HCP\Samsung\Jira\clean\electron-vue-admin\node_modules\builder-util\src\util.ts:241:14)
at Object.onceWrapper (events.js:317:30)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
大佬能把webpack升级到4.0嘛
permission.js?2fda:50 Uncaught (in promise) TypeError: Cannot read property 'indexOf' of undefined
at eval (permission.js?2fda:50)
at Promise (<anonymous>)
at F (_export.js?9e49:36)
at GenerateRoutes (permission.js?2fda:47)
at Array.wrappedActionHandler (C:\Users\Admin\Desktop\electron-vue-admin-master\app\node_modules\vuex\dist\vuex.js:604)
at Store.dispatch (C:\Users\Admin\Desktop\electron-vue-admin-master\app\node_modules\vuex\dist\vuex.js:347)
at Store.boundDispatch [as dispatch] (C:\Users\Admin\Desktop\electron-vue-admin-master\app\node_modules\vuex\dist\vuex.js:272)
at eval (main.js?8060:31)
at <anonymous>
I get a compatibility issue when I run npm install after cloning the git.
Am using Linux Ubuntu distro, I really need help to fix this
Thanks in advance
我在别的项目中, 在app.vue中引入 .@import './styles/index.scss' 并没有生效呀,
怎样将作者的账号密码修改为自己后台提供的账号密码并能重定向到首页
显示没有python 和 node-sass安装包 安装不上
[email protected] postinstall /Users/.../WebstormProjects/electron-vue-admin/node_modules/electron
node install.js
... and 1 more
rt
在src/main/index.js文件中,当winURL = http://localhost:9080
时,用electron提供的浏览器能正常访问, 为啥用外部浏览器(比如Google Chrome)不能访问,因为我想让electron访问外部链接地址,而不是本地文件,这样上线维护方便,请问可以实现吗? @PanJiaChen @tingrun919 @LuoLiangDSGA @
自己安装了插件后,在配置里把parser移动到了parserOptions里面之后,编辑器就不提示eslint错误了。
@PanJiaChen 试了您的项目,都可以正常使用。但是发现,本地dev版本测试资源加载速度很快,只要几毫秒,但是放到服务器上,加载就慢了很多,有些要18s这样。然后我又刷新了您的在线demo,发现加载页面也很慢。
就是在第一次打开页面的时候,登录页面跳出慢;点击登录以后,查看到加载的js资源,需要消耗最多有2min;点击浏览器刷新,然后favicon这里就一直转转转,网页加载就会很慢。是哪里出现了问题?
老大是否有更新的计划呢,辛苦了
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.