Commit 1731ad2c by zhangleyuan

feat:删除多余的代码

parent 93718d3b
......@@ -448,17 +448,17 @@ class FolderList extends React.Component {
}
handleChooseFile = async () => {
// 判断是否欠费,旗舰版用户不需要校验余额
const { instId } = window.currentUserInstInfo;
const ultimateRes = await Service.Business('public/inst/checkInstProduct', {
instId,
productCodeList: ['ULTIMATESELL', 'PIP_TO_ULTIMATE', 'HIGH_TO_ULTIMATE']
});
const { balance } = this.props;
if (balance <= 0 && !ultimateRes.result) {
this.handleShowNoticeModal();
return;
}
// // 判断是否欠费,旗舰版用户不需要校验余额
// const { instId } = window.currentUserInstInfo;
// const ultimateRes = await Service.Business('public/inst/checkInstProduct', {
// instId,
// productCodeList: ['ULTIMATESELL', 'PIP_TO_ULTIMATE', 'HIGH_TO_ULTIMATE']
// });
// const { balance } = this.props;
// if (balance <= 0 && !ultimateRes.result) {
// this.handleShowNoticeModal();
// return;
// }
const dom = document.querySelector('#detailFileInput');
dom.click();
......
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