Explorar el Código

打印监听是否显示日志

wuxw hace 6 años
padre
commit
5be014d9e6

+ 0 - 2
WebService/src/main/resources/components/machinePackage/add-machine/addMachine.html

@@ -79,7 +79,6 @@
                                            callBackListener="addMachine"
                                            callBackFunction="notify"
                                            namespace="addMachine"
-
                                 ></vc:create>
                             </div>
                         </div>
@@ -92,7 +91,6 @@
                                            callBackListener="addMachine"
                                            callBackFunction="notify"
                                            namespace="addMachine"
-
                                 ></vc:create>
                             </div>
                         </div>

+ 1 - 0
WebService/src/main/resources/components/unitPackage/unit-select2/unitSelect2.js

@@ -19,6 +19,7 @@
                 deep: true,
                 handler: function () {
                     vc.emit($props.callBackListener, $props.callBackFunction, this.unitSelect2Info);
+                    console.log('是否执行 watch',$props.callBackListener, $props.callBackFunction, this.unitSelect2Info);
                     vc.emit($namespace, 'roomSelect2', "transferRoom", this.unitSelect2Info);
                 }
             }