Explorar el Código

采美百科页面接口调试

yuwenjun1997 hace 2 años
padre
commit
e57545bb85

+ 3 - 3
src/main/resources/static/js/supplier-center/encyclopedia/edit.js

@@ -376,9 +376,9 @@ const edit = new Vue({
             this.referenceDialog = false
             this.contentEdit.parcel(item.ctrlId, index+1)
         },
-        handleReferenceTypeChange(){
-            this.referenceData = initReferenceData()
-            this.$refs.referenceForm.clearValidate()
+        handleReferenceTypeChange(value){
+            this.$refs.referenceForm.resetFields()
+            this.referenceData.referenceType = value
         },
         // ref tab 切换
         handleTabChange(index) {