Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quantum-blocks
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
quantum-blocks
Commits
52c7f198
Commit
52c7f198
authored
Mar 01, 2021
by
郝聪敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature: 解决跨域问题
parent
2170c951
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
plugin.local.ts
config/plugin.local.ts
+0
-3
plugin.ts
config/plugin.ts
+3
-0
plugin.d.ts
typings/config/plugin.d.ts
+2
-2
No files found.
config/plugin.local.ts
View file @
52c7f198
export
default
{
export
default
{
cors
:
{
package
:
'
egg-cors
'
},
webpack
:
{
webpack
:
{
package
:
'
egg-webpack
'
package
:
'
egg-webpack
'
},
},
...
...
config/plugin.ts
View file @
52c7f198
export
default
{
export
default
{
cors
:
{
package
:
'
egg-cors
'
},
vuessr
:
{
vuessr
:
{
package
:
'
egg-view-vue-ssr
'
package
:
'
egg-view-vue-ssr
'
},
},
...
...
typings/config/plugin.d.ts
View file @
52c7f198
...
@@ -14,9 +14,9 @@ import 'egg-schedule';
...
@@ -14,9 +14,9 @@ import 'egg-schedule';
import
'
egg-static
'
;
import
'
egg-static
'
;
import
'
egg-jsonp
'
;
import
'
egg-jsonp
'
;
import
'
egg-view
'
;
import
'
egg-view
'
;
import
'
egg-cors
'
;
import
'
egg-view-vue-ssr
'
;
import
'
egg-view-vue-ssr
'
;
import
'
egg-sequelize-ts
'
;
import
'
egg-sequelize-ts
'
;
import
'
egg-cors
'
;
import
'
egg-webpack
'
;
import
'
egg-webpack
'
;
import
'
egg-webpack-vue
'
;
import
'
egg-webpack-vue
'
;
import
{
EggPluginItem
}
from
'
egg
'
;
import
{
EggPluginItem
}
from
'
egg
'
;
...
@@ -34,9 +34,9 @@ declare module 'egg' {
...
@@ -34,9 +34,9 @@ declare module 'egg' {
static
?:
EggPluginItem
;
static
?:
EggPluginItem
;
jsonp
?:
EggPluginItem
;
jsonp
?:
EggPluginItem
;
view
?:
EggPluginItem
;
view
?:
EggPluginItem
;
cors
?:
EggPluginItem
;
vuessr
?:
EggPluginItem
;
vuessr
?:
EggPluginItem
;
sequelize
?:
EggPluginItem
;
sequelize
?:
EggPluginItem
;
cors
?:
EggPluginItem
;
webpack
?:
EggPluginItem
;
webpack
?:
EggPluginItem
;
webpackvue
?:
EggPluginItem
;
webpackvue
?:
EggPluginItem
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment