1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
| var httpConfig={
| webApiUrl: "http://127.0.0.1:8089/",
| //代理资源 图片/模型
| nginxUrl : "http://127.0.0.1:8088/",
| //中台地址
| webMidUrl: "http://192.168.0.102:8000/" ,
| access_token:"0038cf7cc6a34d80ac8c216205bb1f3d",
| }
|
| var layerPageStyle={
| offsetX: 100,
| offsetY:50
| }
|
|
| var vMsg = new Vue({
| methods: {
| success(msg) {
| this.$message({ message: msg, type: 'success' });
| },
| info(msg) {
| this.$message(msg);
| },
| warning(msg) {
| this.$message({ message: msg, type: 'warning' });
| },
| error(msg) {
| this.$message.error(msg);
| },
| iconSuccess(title,msg) {
| this.$notify({
| title: title,
| message: msg,
| type: 'success'
| });
| },
| iconWarning(title,msg) {
| this.$notify({
| title: title,
| message: msg,
| type: 'warning'
| });
| },
| iconWarningWithTime(title,msg,time) {
| this.$notify({
| duration:time,
| title: title,
| message: msg,
| type: 'warning'
| });
| },
| },
| });
|
|