mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
chore: fix eslint warning and bisheng terminal log (#36220)
* chore: fix eslint warning * chore: fix bisheng log * Update basic.md
This commit is contained in:
parent
d733de8f14
commit
eeedb876c0
@ -17,7 +17,7 @@ module.exports = {
|
||||
},
|
||||
settings: {
|
||||
react: {
|
||||
version: '16.9',
|
||||
version: 'detect',
|
||||
},
|
||||
polyfills: ['Promise', 'URL'],
|
||||
},
|
||||
|
@ -326,7 +326,6 @@ describe('Table.rowSelection', () => {
|
||||
});
|
||||
expect(onChange).toHaveBeenLastCalledWith([3, 0, 1, 2]);
|
||||
fireEvent.click(allElement());
|
||||
console.log(baseElement.innerHTML);
|
||||
expect(onChange).toHaveBeenLastCalledWith([]);
|
||||
|
||||
// Reset last select key when select all
|
||||
|
@ -27,8 +27,10 @@ function alertBabelConfig(rules) {
|
||||
});
|
||||
}
|
||||
|
||||
const port = process.env.DEV_PORT || 8001;
|
||||
|
||||
module.exports = {
|
||||
port: 8001,
|
||||
port,
|
||||
hash: true,
|
||||
source: {
|
||||
components: './components',
|
||||
@ -192,8 +194,9 @@ module.exports = {
|
||||
},
|
||||
|
||||
devServerConfig: {
|
||||
public: process.env.DEV_HOST || 'localhost',
|
||||
public: `${process.env.DEV_HOST || 'localhost'}:${port}`,
|
||||
disableHostCheck: !!process.env.DEV_HOST,
|
||||
publicPath: '/_site',
|
||||
},
|
||||
|
||||
htmlTemplateExtraData: {
|
||||
|
Loading…
Reference in New Issue
Block a user