|
@@ -1,7 +1,7 @@
|
|
|
import React from 'react';
|
|
|
import ReactDOM from 'react-dom';
|
|
|
import AgileTCEditor from './kityminderEditor';
|
|
|
-import { FromChooseItem } from './index'
|
|
|
+import { FromChooseItem, ModalTip } from './index'
|
|
|
// import t from './index'
|
|
|
import { Button } from 'antd'
|
|
|
// console.log(t)
|
|
@@ -23,7 +23,15 @@ class App extends React.Component {
|
|
|
const { tab } = this.state;
|
|
|
let content = null;
|
|
|
if (tab === 1) {
|
|
|
- content = <AgileTCEditor />;
|
|
|
+ // content = <AgileTCEditor />;
|
|
|
+ content = <ModalTip
|
|
|
+ title = {'删除确认'}
|
|
|
+ content = {`删除用例集将会一并删除它的子用例集和用例,是否确定删除?`}
|
|
|
+ onClose = {() => {
|
|
|
+ setDelModel(false)
|
|
|
+ }}
|
|
|
+ onOk = {(e) => onDel(e)}
|
|
|
+ />
|
|
|
} else {
|
|
|
content = <FromChooseItem
|
|
|
renderFormList={[
|