Commit 92529971 by zhaochengxiang

清除警告

parent 3a737ce1
node_modules node_modules
build
\ No newline at end of file
import * as service from '../service/assets'; import * as service from '../service/assets';
import { call, put } from 'redux-saga/effects'; import { call } from 'redux-saga/effects';
export function* domains(payload) { export function* domains(payload) {
......
...@@ -10,12 +10,10 @@ import { ...@@ -10,12 +10,10 @@ import {
Button, Button,
Rate, Rate,
Tabs, Tabs,
Card,
message message
} from 'antd'; } from 'antd';
import { DataDesc, DataPreview, DataDetail } from './AssetListHelper'; import { DataDesc, DataPreview, DataDetail } from './AssetListHelper';
import { PostJSON, GetJSON } from '../../../../util/axios';
import styles from '../style.less'; import styles from '../style.less';
import { dispatch } from '../../../../model'; import { dispatch } from '../../../../model';
......
import React, { Component, Fragment, useEffect, useState } from 'react'; import React, { Component } from 'react';
import { Table, Descriptions, Icon } from 'antd'; import { Table, Descriptions, Icon } from 'antd';
import styles from '../style.less'; import styles from '../style.less';
......
import React, { Component, Fragment } from "react" import React, { Component } from "react"
import { Row, Col, Card, Input, Pagination } from 'antd'; import { Row, Col, Card, Input, Pagination } from 'antd';
import classnames from 'classnames'; import classnames from 'classnames';
import AssetTreeCOM from './components/AssetTree'; import AssetTreeCOM from './components/AssetTree';
import AssetListCOM from './components/AssetList'; import AssetListCOM from './components/AssetList';
import { GetJSON } from '../../../util/axios';
import { dispatch } from '../../../model'; import { dispatch } from '../../../model';
const { Search } = Input; const { Search } = Input;
......
...@@ -107,7 +107,7 @@ export class SearchBar extends Component { ...@@ -107,7 +107,7 @@ export class SearchBar extends Component {
return ( return (
<CheckableTag <CheckableTag
key={hotWord} key={hotWord}
checked={hotWord == keyword} checked={hotWord === keyword}
onChange={checked => { onChange={checked => {
const { domain } = this.state; const { domain } = this.state;
if (checked) { if (checked) {
......
import React, { Component } from "react"; import React, { Component } from "react";
import { Card, Pagination } from 'antd'; import { Card, Pagination } from 'antd';
import { GetJSON } from '../../../util/axios';
import { SearchBar } from './components/SearchHelper'; import { SearchBar } from './components/SearchHelper';
import AssetListCOM from '../Assets/components/AssetList'; import AssetListCOM from '../Assets/components/AssetList';
import { dispatch } from '../../../model'; import { dispatch } from '../../../model';
......
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