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' }); }, }, });