mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-16 23:45:53 +08:00
refactor: 🎨 优化订单备注在onShow时候丢失问题 以及 优化部分代码
This commit is contained in:
@@ -7,6 +7,7 @@ Vue.use(Vuex);
|
||||
const store = new Vuex.Store({
|
||||
state: {
|
||||
isShowToast:false, // 是否在展示Toast中
|
||||
remark:[], //填写订单备注
|
||||
shareLink:"", //分享链接
|
||||
verificationKey: "", //获取key表示验证通过
|
||||
distributionId:"", //分销员Id 如果当前账户从未登录过时记录
|
||||
@@ -26,6 +27,11 @@ const store = new Vuex.Store({
|
||||
state.userName = "";
|
||||
state.hasLogin = false;
|
||||
},
|
||||
|
||||
// 设置填写订单中备注
|
||||
setRemark(state, remark) {
|
||||
state.remark = remark;
|
||||
}
|
||||
},
|
||||
actions: {},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user