bug修复

This commit is contained in:
wuhongjian 2022-10-13 18:13:19 +08:00
parent 0c83991e6c
commit 2c4752c97b
2 changed files with 8 additions and 9 deletions

View File

@ -2,7 +2,7 @@
* @Author: hisense.wuhongjian * @Author: hisense.wuhongjian
* @Date: 2020-07-07 16:03:23 * @Date: 2020-07-07 16:03:23
* @LastEditors: hisense.wuhongjian * @LastEditors: hisense.wuhongjian
* @LastEditTime: 2022-10-13 16:47:03 * @LastEditTime: 2022-10-13 18:10:05
* @Description: 系统静态参数配置 * @Description: 系统静态参数配置
*/ */
var _global = {} var _global = {}
@ -11,7 +11,7 @@ var CONFIGITEM = {
// version: 'xihaian', // 西 // version: 'xihaian', // 西
// version: 'dev', // // version: 'dev', //
// version: 'zhanTingDev', // dev (2022-09-13:) // version: 'zhanTingDev', // dev (2022-09-13:)
version: 'dev', // version: 'qingdao', //
//version: 'frp', // 穿 //version: 'frp', // 穿
vNum: 'v0.8.7.2', vNum: 'v0.8.7.2',
configData: { configData: {
@ -28,8 +28,7 @@ var CONFIGITEM = {
previewUrl: 'http://15.72.183.90:7008/', previewUrl: 'http://15.72.183.90:7008/',
//frontUrl: 'http://15.72.183.90:7008/document/#/devModelFile/', //frontUrl: 'http://15.72.183.90:7008/document/#/devModelFile/',
//apiURL: 'http://15.72.183.90:8000/renren-admin', //apiURL: 'http://15.72.183.90:8000/renren-admin',
// websocketURL: '15.72.183.90:8000/renren-admin', websocketURL: '15.72.183.90:8000/renren-admin',
websocketURL: '192.168.124.254:8888/renren-admin', // -
POI_URL: POI_URL:
'http://15.72.178.129:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address', 'http://15.72.178.129:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address',
}, },

View File

@ -35,7 +35,7 @@
</div> </div>
<div v-loading="loadingData"> <div v-loading="loadingData">
<searchResultList <searchResultList
v-if="number === 0" v-if="number === 1"
v-show="resourceList.data && resourceList.data.length > 0" v-show="resourceList.data && resourceList.data.length > 0"
:resourceList="resourceList" :resourceList="resourceList"
:resourceTotal="resourceTotal" :resourceTotal="resourceTotal"
@ -124,14 +124,14 @@
const titleName = ref([ const titleName = ref([
{ {
name: '赋能场景', name: '赋能场景',
index: 1, index: 0,
}, },
{ {
name: '打包模式', name: '打包模式',
index: 0, index: 1,
}, },
]) ])
let number = ref(1) let number = ref(0)
// //
const paramsGetResources = { const paramsGetResources = {
page: currentPage.value, page: currentPage.value,
@ -148,7 +148,7 @@
// //
const handleSetSearchData = () => { const handleSetSearchData = () => {
if (storageSearchInfo) { if (storageSearchInfo) {
number.value = storageSearchInfo.type == '打包模式' ? 0 : 1 number.value = storageSearchInfo.type == '打包模式' ? 1 : 0
// //
searchValue.value = storageSearchInfo.name searchValue.value = storageSearchInfo.name
currentPage.value = storageSearchInfo.page currentPage.value = storageSearchInfo.page