Comments (3)
Electron不存在跨域问题,说一下你的需求
from electron-vue-admin.
写的桌面端想请求不同域名下的接口,因此想做代理。不知道electron-vue-admin是否支持
from electron-vue-admin.
在你得api模块中加入对应地址就好了
import axios from 'axios';
export const requestLogin = params => {return axios.post(`http://127.0.0.1:3000/login`,params).then(res => res.data); };
from electron-vue-admin.
Related Issues (20)
- 支持多层嵌套router么?
- 右侧content里面能否加载不同网址的内容呢,如何实现这个跨域
- 请问后续怎么更新呢 HOT 1
- 遇到一个问题,进入table页之后,数据更新正常。但是切换路由,再切回当前页面,数据更新失败。watch也没有监听到数据的变化 HOT 1
- 是否兼容xp系统
- 此项目已经停止维护了吗? HOT 2
- 怎么改用electron-packager进行打包?
- require is not defined
- 他这个路由都不跳转,我登录去掉都不跳转 HOT 3
- 催更催更 HOT 2
- 谁知道输入框右键菜单被禁用怎么解开,一直没找到。
- 为什么不能打包啊? HOT 2
- 打包后没有latest.yml HOT 1
- 打包报错了 HOT 3
- electron13+vite2+vue3新一代的桌面端架构,It's easy and fast!
- npm install 安装依赖错误 HOT 5
- 我安装依赖的时候,报错 HOT 1
- 现在登录是提示NetWork Error,应该怎么办 HOT 1
- electron 在mac 系统怎么打包成 win exe可运行文件
- 此项目不更新了 使用 Electron Egg + Vue-admin-template 可以替换该项目运行
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron-vue-admin.