Commit 6559fbbb authored by Maofei94's avatar Maofei94

perf: perf

parent 6039d9c8
...@@ -35,6 +35,13 @@ const AddModal = props => { ...@@ -35,6 +35,13 @@ const AddModal = props => {
const arr = Object.entries(data); const arr = Object.entries(data);
const list = []; const list = [];
arr.map((item, index) => { arr.map((item, index) => {
console.log(item, 'item');
if (item[1] === '小程序') {
item[1] = '移动应用';
}
if (item[1] === '手持系统') {
return;
}
let obj = { let obj = {
key: index, key: index,
value: item[0], value: item[0],
......
import { request } from '../utils/request'; import { request } from '../utils/request';
// export const CITY_SERVICE = '/Cityinterface/rest/services'; // export const CITY_SERVICE = '/Cityinterface/rest/services';
export const PUBLISH_SERVICE = '/Publish/OMS'; export const PUBLISH_SERVICE = '/Publish/GateWay/OMS';
export const CITY_SERVICE = '/Publish/GateWay/CityServer'; export const CITY_SERVICE = '/Publish/GateWay/CityServer';
const get = async (url, params, options = {}) => const get = async (url, params, options = {}) =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment