ソースを参照

提交

hotfix_20220515_release
gwbvipvip 2年前
コミット
9da7337ad3
2個のファイルの変更7行の追加1行の削除
  1. +1
    -0
      src/pages/store/printer/Printer/index.jsx
  2. +6
    -1
      src/pages/store/printer/printerTemplate/index.jsx

+ 1
- 0
src/pages/store/printer/Printer/index.jsx ファイルの表示

@@ -287,6 +287,7 @@ const PrinterInfo = () => {
formRef={formRef} formRef={formRef}
layout={'horizontal'} layout={'horizontal'}
autoFocusFirstInput> autoFocusFirstInput>
<br/>
<ProFormText style={{ marginTop: '-10px', }} name="applicationId" label="应用ID" placeholder="请输入应用ID"> <ProFormText style={{ marginTop: '-10px', }} name="applicationId" label="应用ID" placeholder="请输入应用ID">
<Field mode={'edit'} /> <Field mode={'edit'} />
</ProFormText> </ProFormText>


+ 6
- 1
src/pages/store/printer/printerTemplate/index.jsx ファイルの表示

@@ -97,7 +97,12 @@ const printerTemplateInfo = () => {
if (action == 'remove') { if (action == 'remove') {
SetIsAdd(false); SetIsAdd(false);
DelPrinterTemplater([targetKey]).then((result) => { DelPrinterTemplater([targetKey]).then((result) => {
GetStoreTemplaterList();
if (result.data) {
GetStoreTemplaterList();
message.success('成功');
} else {
message.success('失败');
}
}); });






読み込み中…
キャンセル
保存