cnf
2025-08-14 8ab5e98465199c58454edc579ebae903d162c78b
Scripts/config.js
@@ -1,7 +1,8 @@
/*var APIURL = "http://192.168.1.145:83/api/";*///后端发布的地址
/*var APIURL = "http://192.168.1.187:8083/api/";*///后端发布测试地址
var APIURL = "http://localhost:5204/api/";
/*var APIURL_PC = "http://192.168.1.145:81/";*/ //PC后端的地址
var APIURL_PC = "http://192.168.1.145:81/";//测试
//var APIURL_PC = "http://192.168.1.187:81/"; //PC后端的地址
//var APIURL = "http://192.168.1.187:83/api/";
var APIURL_PC = "http://116.148.211.203:8081/";//
var APIURL_IMAGE = APIURL_PC+"upload/";
var ISNEEDLOGIN = true;
String.prototype.trim = function () {
@@ -50,6 +51,7 @@
Vue.prototype.GetLoginInfor = function () {
    var that = this;
    var loginInfo = {
       // 从Cookies中获取登录时保存的userGuid(登录时存储的键是loginGuid)
        loginGuid: Cookies.get('loginGuid'),
        loginAccount: Cookies.get('loginAccount'),
    }
@@ -208,8 +210,8 @@
Vue.prototype.$playSound = function(type = 'success') {
    try {
        const audioMap = {
            success: '/audio/OK.wav',
            error: '/audio/NG.wav'
            success: '/audio/YES.wav',
            error: '/audio/NO.wav'
        };
        const audio = new Audio(audioMap[type]);
        audio.play().catch(error => {