代码优化
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
import { nextTick, reactive, ref } from 'vue';
|
||||
import { onReachBottom, onShow, onUnload } from '@dcloudio/uni-app';
|
||||
import go from '@/commons/utils/go.js';
|
||||
import { getShopList } from '@/http/yskApi/shop.js'
|
||||
// import { getShopList } from '@/http/api/shop.js'
|
||||
|
||||
const vdata = reactive({
|
||||
shopList:[
|
||||
@@ -54,9 +54,9 @@ onShow(() => {
|
||||
})
|
||||
|
||||
let getshopList = () => {
|
||||
getShopList().then((res) => {
|
||||
console.log(res)
|
||||
})
|
||||
// getShopList().then((res) => {
|
||||
// console.log(res)
|
||||
// })
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user