mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 20:29:19 +08:00
fix(product): 创建商品时校验规格编码重复,数据库唯一键冲突时返回友好提示
This commit is contained in:
-1
@@ -280,7 +280,6 @@ async function handleSubmit() {
|
||||
emit('success');
|
||||
} catch (error) {
|
||||
console.error('保存商品失败:', error);
|
||||
message.error('保存商品失败');
|
||||
} finally {
|
||||
modalApi.setState({ confirmLoading: false });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user