Commit 3774d269 authored by maoying's avatar maoying

修改打包文件

parent 6aa6d882
......@@ -3,7 +3,7 @@ module.exports = {
extra: ['amos.config.js', 'favicon.ico'],
dirs: [
{ fromDir: 'node_modules/cesium/Build/Cesium/**', toDir: 'released/third/cesium/' },
{ fromDir: 'threeres/**', toDir: 'released/threeres' },
// { fromDir: 'threeres/**', toDir: 'released/threeres' },
{fromDir: 'extra/**',toDir: 'released/extra/'},
{fromDir: 'src/_mock/**',toDir: 'released/src/_mock/'}
],
......
......@@ -7,8 +7,8 @@
Amos.config = {
// 普通http
httpURI: {
baseURI: 'http://172.16.10.66:10005/',
pluginURI: 'http://172.16.10.72:10005/',
baseURI: 'http://39.98.246.31:20005/',
pluginURI: 'http://39.98.246.31:3009/',
fileServerURI: 'http://39.98.246.31:8888/' //图片服务器地址
//设计器数据绑定
// dataBindUrl: 'http://172.16.10.91:8083/api/visual/common/dataBind'
......@@ -135,7 +135,7 @@
window.demo = true;
// 采用本地模式启动插件
window.useNative = true;
window.appKey = 'CONVERTER_STATION';
window.product = 'CONVERTER_STATION_WEB';
window.appKey = 'studio_normalapp_2668446';
window.product = 'STUDIO_APP_WEB';
window.dutyType = 'normal'; //normal/bank
})();
import React , { Component } from 'react';
import VizlibView from 'amos-iot-webstudio/lib/view/vizlib';
// import VizlibView from 'amos-iot-webstudio/lib/view/vizlib';
import { browserHistory } from 'amos-react-router';
import _amosTool from 'amos-tool';
import SysConsts from 'amos-processor/lib/config/consts';
......@@ -106,20 +106,20 @@ class CusVizLib extends Component {
}
render() {
const { visible } = this.state;
return (
<div style={{height:'100%'}}>
<VizlibView {...this.props} extraEventHandle={this.onItemClick} extraMenus={extraMenus} />
<Modal
header="预案上传"
visible={visible}
destroyContent
onOk={this.onOk}
onCancel={this.cancel}
content={visible && this.getContent()}
/>
</div>
);
// const { visible } = this.state;
// return (
// <div style={{height:'100%'}}>
// <VizlibView {...this.props} extraEventHandle={this.onItemClick} extraMenus={extraMenus} />
// <Modal
// header="预案上传"
// visible={visible}
// destroyContent
// onOk={this.onOk}
// onCancel={this.cancel}
// content={visible && this.getContent()}
// />
// </div>
// );
}
}
......
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