|
@@ -22,6 +22,7 @@
|
|
import { http } from '../../framework/http';
|
|
import { http } from '../../framework/http';
|
|
import { config } from '../../config/config';
|
|
import { config } from '../../config/config';
|
|
import { log } from '../../framework/log';
|
|
import { log } from '../../framework/log';
|
|
|
|
+import { util } from '../../framework/util'
|
|
|
|
|
|
let data_list = ref<Array<bookstore_template_data>>([])
|
|
let data_list = ref<Array<bookstore_template_data>>([])
|
|
let H3_data_list = ref<Array<Array<book_item_data>>>([])
|
|
let H3_data_list = ref<Array<Array<book_item_data>>>([])
|
|
@@ -29,7 +30,9 @@
|
|
requestData()
|
|
requestData()
|
|
|
|
|
|
function requestData() {
|
|
function requestData() {
|
|
|
|
+ util.showLoading()
|
|
http.StaticRequest(config.url_confg.Static.book_store,(err,data)=>{
|
|
http.StaticRequest(config.url_confg.Static.book_store,(err,data)=>{
|
|
|
|
+ util.hideLoading()
|
|
console.log('data=',data)
|
|
console.log('data=',data)
|
|
if(!err) {
|
|
if(!err) {
|
|
if(data.code==config.url_confg.StatesCode.SUCCESS){
|
|
if(data.code==config.url_confg.StatesCode.SUCCESS){
|