Commit e27a667c authored by TZW's avatar TZW

12061947

parent bd57fd24
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: Li Hanlin * @Author: Li Hanlin
* @Date: 2022-12-02 11:41:03 * @Date: 2022-12-02 11:41:03
* @Last Modified by: Li Hanlin * @Last Modified by: Li Hanlin
* @Last Modified time: 2022-12-05 09:10:05 * @Last Modified time: 2022-12-06 16:52:05
*/ */
import * as React from 'react'; import * as React from 'react';
...@@ -13,7 +13,7 @@ import PremButton from '@/components/PremButton'; ...@@ -13,7 +13,7 @@ import PremButton from '@/components/PremButton';
import getcolumns from './columns'; import getcolumns from './columns';
import { useRequest } from 'ahooks'; import { useRequest } from 'ahooks';
import { doFetch } from '@/utils/doFetch'; import { doFetch } from '@/utils/doFetch';
import Addform from './Addform'; import Addform from '@/components/Addform';
function Failure(props) { function Failure(props) {
const actionRef = useRef(), const actionRef = useRef(),
......
This diff is collapsed.
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: Li Hanlin * @Author: Li Hanlin
* @Date: 2022-12-05 10:13:42 * @Date: 2022-12-05 10:13:42
* @Last Modified by: Li Hanlin * @Last Modified by: Li Hanlin
* @Last Modified time: 2022-12-05 17:32:09 * @Last Modified time: 2022-12-06 16:41:48
*/ */
import * as React from 'react'; import * as React from 'react';
......
...@@ -424,14 +424,7 @@ function getcolumns(setdrawer) { ...@@ -424,14 +424,7 @@ function getcolumns(setdrawer) {
fieldProps: { fieldProps: {
limit: 2, limit: 2,
}, },
formItemProps: {
rules: [
{
required: true,
message: '此项为必填项',
},
],
},
render: (text, row) => { render: (text, row) => {
if (row?.pictureUrl == null) { if (row?.pictureUrl == null) {
return '暂无图片'; return '暂无图片';
......
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