Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wechat-common
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
wechat-common
Commits
d4aa4a48
Commit
d4aa4a48
authored
Jul 04, 2021
by
guomingpang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs:删除无用的注释
parent
64d7cf82
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
4 deletions
+3
-4
config/webpack.config.js
+0
-3
public/h5.html
+1
-0
src/common/js/axios.ts
+1
-0
src/routes/config/cloudClass.tsx
+1
-1
No files found.
config/webpack.config.js
View file @
d4aa4a48
...
...
@@ -26,17 +26,14 @@ const ForkTsCheckerWebpackPlugin = require('react-dev-utils/ForkTsCheckerWebpack
const
typescriptFormatter
=
require
(
'react-dev-utils/typescriptFormatter'
);
const
postcssNormalize
=
require
(
'postcss-normalize'
);
// const vConsolePlugin = require('vconsole-webpack-plugin');
const
appPackageJson
=
require
(
paths
.
appPackageJson
);
// Source maps are resource heavy and can cause out of memory issue for large source files.
const
shouldUseSourceMap
=
process
.
env
.
GENERATE_SOURCEMAP
!==
'false'
;
// Some apps do not need the benefits of saving a web request, so not inlining the chunk
// makes for a smoother build process.
const
shouldInlineRuntimeChunk
=
process
.
env
.
INLINE_RUNTIME_CHUNK
!==
'false'
;
const
isExtendingEslintConfig
=
process
.
env
.
EXTEND_ESLINT
===
'true'
;
const
imageInlineSizeLimit
=
parseInt
(
process
.
env
.
IMAGE_INLINE_SIZE_LIMIT
||
'10000'
...
...
public/h5.html
View file @
d4aa4a48
...
...
@@ -128,6 +128,7 @@
if
(
res
.
code
==
200
)
{
$
(
'#success'
).
show
()
}
else
if
(
res
.
code
===
'DEPLOY_CROP_ADD_USER_NO'
){
//租户配置到限,跳转空白提示缺省页
$
(
'#tenant-config-error'
).
show
();
$
(
'#tenant-config-error-message'
).
html
(
res
.
message
)
emptyAnimation
()
...
...
src/common/js/axios.ts
View file @
d4aa4a48
...
...
@@ -68,6 +68,7 @@ class Axios {
if
(
success
||
resultCode
===
0
)
{
return
response
;
}
else
if
(
code
===
'DEPLOY_CROP_ADD_USER_NO'
){
//租户配置到限,跳转空白提示缺省页
window
.
location
.
replace
(
"/wechat-common/#/empty-page"
)
return
Promise
.
reject
(
response
.
data
)
}
...
...
src/routes/config/cloudClass.tsx
View file @
d4aa4a48
...
...
@@ -29,7 +29,7 @@ const CloudClassConfig: MenuConfig = {
},
{
key
:
'empty-page'
,
name
:
'
授权登录
'
,
name
:
'
提示
'
,
path
:
'/empty-page'
,
component
:
EmptyPage
,
},
...
...
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