瀏覽代碼

离开价格驱动页面,重置options

cxmo 2 年之前
父節點
當前提交
7df2b897dc
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      pages/pricedriven/pricedriven.vue

+ 3 - 0
pages/pricedriven/pricedriven.vue

@@ -20,6 +20,9 @@ export default {
 	 onShow() {
 			this.init(this.options)
 	 },
+      onHide() {
+         this.options = {}
+     },
     onShareAppMessage() {
         return {
             title:this.msgObj.title,