Browse Source

docs: 微调Address文档

yangjinjun3 3 years ago
parent
commit
5824c32c5f

+ 0 - 1
src/packages/__VUE/address/demo.vue

@@ -286,7 +286,6 @@ export default createDemo({
       }
     };
     const close1 = (val: CalResult) => {
-      console.log(val);
       text.one = val.data.addressStr;
     };
 

+ 0 - 1
src/packages/__VUE/address/doc.en-US.md

@@ -70,7 +70,6 @@ app.use(Address);
           }
         };
         const close = val => {
-          console.log(val);
           text.value = val.data.addressStr;
         };
 

+ 5 - 5
src/packages/__VUE/address/doc.md

@@ -56,7 +56,7 @@ app.use(Address);
           town:[]
         })
 
-        const text = ref('选择地址')
+        const text = ref('选择地址')
 
         const showAddress = () => {
           showPopup.value = !showPopup.value;
@@ -279,7 +279,7 @@ app.use(Address);
           }
         ]);
 
-        const text = ref('选择地址')
+        const text = ref('选择地址')
 
         const showAddressExist = () => {
           showPopupExist.value = true;
@@ -313,7 +313,7 @@ app.use(Address);
   <nut-address
       v-model:visible="showPopupCustomImg"
       type="exist"
-      :existAddress="existAddress"
+      :exist-address="existAddress"
       @close="close"
       :is-show-custom-address="false"
       @selected="selected3"
@@ -374,7 +374,7 @@ app.use(Address);
           }
         ]);
 
-        const text = ref('选择地址')
+        const text = ref('选择地址')
 
         const showCustomImg = () => {
           showPopupCustomImg.value = true;
@@ -500,7 +500,7 @@ app.use(Address);
           }
         ]);
         const backBtnIcon = ref('left')
-        const text = ref('选择地址')
+        const text = ref('选择地址')
 
         const showAddressOther = () => {
           showPopupOther.value = true;