Former-commit-id: 1b78c9f4c208e7e860089d9427502af6da4964b0
Former-commit-id: bd52df12dd17d5c09aa4fbf7d3c4cb12cff91257
TSXN
wanggang 5 years ago
parent cc400b0fe7
commit 6f1b658c27

@ -1,4 +1,4 @@
using System.Reflection; using System.Reflection;
[assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0.609")] [assembly: AssemblyInformationalVersion("1.0.0.728")]

@ -144,7 +144,7 @@
if (vm.data.errors.length === 0) { if (vm.data.errors.length === 0) {
axios.post(e.target.action, vm.data.model).then(function (response) { axios.post(e.target.action, vm.data.model).then(function (response) {
if (response.status === 204) { if (response.status === 204) {
var url = base + 'index.html?area=' + vm.area + '&entity=' + vm.entity + '&model=' + vm.model; var url = vm.base + 'index.html?area=' + vm.area + '&entity=' + vm.entity + '&model=' + vm.model;
setTimeout(function () { setTimeout(function () {
router.push(url); router.push(url);
}, 1000); }, 1000);

@ -1,6 +1,6 @@
var config = { var config = {
debug:window.location.search.indexOf('debug') > -1, debug:window.location.search.indexOf('debug') > -1,
baseUrl: 'http://localhost',//window.location.protocol + '//' + window.location.hostname, baseUrl: window.location.protocol + '//' + window.location.hostname,
uploadUrl:'http://localhost/IoTCenter/File/Upload', uploadUrl: window.location.protocol + '//' + window.location.hostname+'/IoTCenter/File/Upload',
isMobile: /(iPhone|iPad|iPod|iOS|Android)/i.test(navigator.userAgent) isMobile: /(iPhone|iPad|iPod|iOS|Android)/i.test(navigator.userAgent)
}; };
Loading…
Cancel
Save