@ -146,6 +146,9 @@ Page({
wx.hideLoading();
console.log('创建货源成功:', res);
// 创建货源成功后,将用户类型设置为seller
API.updateUserType('seller');
// 保存到本地存储
this.saveToLocalStorage(productData, res);