MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / t

Function t

web/src/pages/Redemption/EditRedemption.js:131–145  ·  view source on GitHub ↗
('兑换码将以文本文件的形式下载,文件名为兑换码的名称。')}</p>
          </div>
        ),
        onOk: () => {
          downloadTextAsFile(text, `${localInputs.name}.txt`);
        },
      })

Source from the content-addressed store, hash-verified

129 <div>
130 <p>{t('兑换码创建成功,是否下载兑换码?')}</p>
131 <p>{t('兑换码将以文本文件的形式下载,文件名为兑换码的名称。')}</p>
132 </div>
133 ),
134 onOk: () => {
135 downloadTextAsFile(text, `${localInputs.name}.txt`);
136 },
137 });
138 }
139 setLoading(false);
140 };
141
142 return (
143 <>
144 <SideSheet
145 placement={isEdit ? 'right' : 'left'}
146 title={
147 <Space>
148 {isEdit ?

Callers 15

EditRedemption.jsFile · 0.70
addCustomModelsFunction · 0.50
EditTagModal.jsFile · 0.50
fetchUpstreamModelListFunction · 0.50
handleVertexUploadChangeFunction · 0.50
submitFunction · 0.50
addCustomModelsFunction · 0.50
EditChannel.jsFile · 0.50
loadChannelTagsFunction · 0.50
loadModelsFunction · 0.50
loadGroupsFunction · 0.50
submitFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected