achao 2 vuotta sitten
vanhempi
commit
99e94448a2
1 muutettua tiedostoa jossa 7 lisäystä ja 5 poistoa
  1. 7 5
      xiaochengxu/README.md

+ 7 - 5
xiaochengxu/README.md

@@ -80,7 +80,6 @@ methods:{
 			uni.hideLoading()
 		}).then(res => {
 			uni.hideLoading()
-			console.log(11)
 			let curPageData = res.data.items;
 			let totalPage = res.data.total;
 			let curPageLen = curPageData.length;
@@ -102,14 +101,17 @@ onShow(){
 重置列表数据 this.mescroll.resetUpScroll()
 ```
 
-##工具类
+## 工具类
 
 ```
 1、时间戳格式化
 parseTime(gmtCreate)
+2、地址拆分省市区详细地址
+let _address = this.$helper.formatLocation("辽宁省营口市鲅鱼圈区日月大道8号")
+
 ```
 
-##U-view 常用
+## U-view 常用
 
 ```
 1、toast提示
@@ -146,7 +148,7 @@ export default {
 
 ```
 
-##同步请求
+## 同步请求
 
 ```
 async upCallback(page) {
@@ -181,7 +183,7 @@ async upCallback(page) {
 },
 ```
 
-##公共样式
+## 公共样式
 ```
 static/styles/index.scss