Commit 65cc8837 by LJM

注释优化

parent 8c931cf6
Showing with 11 additions and 0 deletions
......@@ -193,6 +193,11 @@
this.getData();
},
methods: {
/**
* @param {Object} e
* @param {Object} type
* 搜索切换
*/
bindPickerChange: function(e, type) {
console.log('picker发送选择改变,携带值为', e.detail.value);
if (type == 1) {
......@@ -232,6 +237,9 @@
}, 1000);
this.getData();
},
/**
* 打开上架窗口
*/
showDrawer() {
if (this.filter_id.length == 0) {
uni.showToast({
......@@ -261,6 +269,9 @@
return false;
}
},
/**
* 关闭窗口
*/
closeDrawer() {
this.$refs.showRight.close();
},
......
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 sign in to comment