Commit d4aa4a48 by guomingpang

docs:删除无用的注释

parent 64d7cf82
......@@ -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'
......
......@@ -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()
......
......@@ -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)
}
......
......@@ -29,7 +29,7 @@ const CloudClassConfig: MenuConfig = {
},
{
key: 'empty-page',
name: '授权登录',
name: '提示',
path: '/empty-page',
component:EmptyPage,
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment