From 68d93272840e9ad2499a74ba9f72d9e9d74870d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E4=BA=8C=E7=8C=9B?= Date: Mon, 2 Dec 2019 11:25:20 +0800 Subject: [PATCH] A web fix --- spug_web/src/pages/system/account/Table.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/spug_web/src/pages/system/account/Table.js b/spug_web/src/pages/system/account/Table.js index 92a3581..1a1b97d 100644 --- a/spug_web/src/pages/system/account/Table.js +++ b/spug_web/src/pages/system/account/Table.js @@ -1,6 +1,7 @@ import React from 'react'; import { observer } from 'mobx-react'; import { Table, Divider, Modal, Badge, message } from 'antd'; +import { LinkButton } from 'components'; import ComForm from './Form'; import http from 'libs/http'; import store from './store'; @@ -31,11 +32,11 @@ class ComTable extends React.Component { title: '操作', render: info => ( - this.handleActive(info)}>{info['is_active'] ? '禁用' : '启用'} + this.handleActive(info)}>{info['is_active'] ? '禁用' : '启用'} - store.showForm(info)}>编辑 + store.showForm(info)}>编辑 - this.handleDelete(info)}>删除 + this.handleDelete(info)}>删除 ) }];