review:【mall】营销相关
This commit is contained in:
@@ -43,6 +43,7 @@ const [Modal, modalApi] = useVbenModal({
|
||||
if (isOpen) {
|
||||
// 打开时,进行 loading 加载。后续 CropperImage 组件加载完毕,会自动关闭 loading(通过 handleReady)
|
||||
modalLoading(true);
|
||||
// TODO @puhui999:这里比 ele 多了,是符合预期的哇?
|
||||
const img = new Image();
|
||||
img.src = src.value;
|
||||
img.addEventListener('load', () => {
|
||||
|
||||
@@ -121,7 +121,7 @@ const apiSelectRule = [
|
||||
field: 'data',
|
||||
title: '请求参数 JSON 格式',
|
||||
props: {
|
||||
autoSize: true,
|
||||
autoSize: true, // 特殊:ele 里是 autosize,antd 里是 autoSize
|
||||
type: 'textarea',
|
||||
placeholder: '{"type": 1}',
|
||||
},
|
||||
@@ -155,7 +155,7 @@ const apiSelectRule = [
|
||||
info: `data 为接口返回值,需要写一个匿名函数解析返回值为选择器 options 列表
|
||||
(data: any)=>{ label: string; value: any }[]`,
|
||||
props: {
|
||||
autoSize: true,
|
||||
autoSize: true, // 特殊:ele 里是 autosize,antd 里是 autoSize
|
||||
rows: { minRows: 2, maxRows: 6 },
|
||||
type: 'textarea',
|
||||
placeholder: `
|
||||
|
||||
@@ -39,7 +39,7 @@ export function useDictSelectRule() {
|
||||
title: label,
|
||||
info: '',
|
||||
$required: false,
|
||||
modelField: 'value',
|
||||
modelField: 'value', // 特殊:ele 里是 model-value,antd 里是 value
|
||||
};
|
||||
},
|
||||
props(_: any, { t }: any) {
|
||||
|
||||
Reference in New Issue
Block a user