Commit 65cc8837 by LJM

注释优化

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