Former-commit-id: 3d3d626c4d4a69317d8f72e9d12d5ffa9b6b2e0a
TangShanKaiPing
zhengpengju 5 years ago
parent 79f838e11e
commit 67da07a665

@ -21,6 +21,9 @@
<p class="weui-toast__content">加载中</p> <p class="weui-toast__content">加载中</p>
</div> </div>
</div> </div>
<script>
ver = '0.1.0.202004270919'; // 版本信息全局变量
</script>
<script src="js/config.js?v1"></script> <script src="js/config.js?v1"></script>
<script src="lib/linq/linq.min.js"></script> <script src="lib/linq/linq.min.js"></script>
<script src="lib/jquery/jquery.min.js"></script> <script src="lib/jquery/jquery.min.js"></script>

@ -1,5 +1,5 @@
var config = (function(global){ var config = (function(global){
global.apigateway = 'http://localhost'; // 设置通过API网关访问 global.apigateway = window.location.protocol + '//' + window.location.host; // 设置通过API网关访问
global.iotCenterUrl = global.apigateway + '/IoTCenter'; // IoT服务API global.iotCenterUrl = global.apigateway + '/IoTCenter'; // IoT服务API
global.hubUrl = global.apigateway + '/IoTCenter/hub?group=page'; // 设备WebSocket访问地址 global.hubUrl = global.apigateway + '/IoTCenter/hub?group=page'; // 设备WebSocket访问地址
global.liverUrl = global.apigateway; // 流媒体服务器地址 global.liverUrl = global.apigateway; // 流媒体服务器地址

@ -23,7 +23,7 @@
</div> </div>
</form> </form>
<div class="weui-footer weui-footer_fixed-bottom"> <div class="weui-footer weui-footer_fixed-bottom">
<p class="weui-footer__text">Copyright © 2020 Ver 0.1.0.2002250904</p> <p class="weui-footer__text">Copyright © 2020 Ver 0.1.0.202004270919</p>
</div> </div>
</div> </div>
</div> </div>

@ -1,7 +1,7 @@
function pages_login() { function pages_login() {
return { return {
component: Vue.component(arguments.callee.toString(), function (resolve, reject) { component: Vue.component(arguments.callee.toString(), function (resolve, reject) {
axios.get("/pages/login.html").then(function (response) { axios.get("/pages/login.html?v=0.1.0.202004270919").then(function (response) {
resolve({ resolve({
template: response.data, template: response.data,
data() { data() {

Loading…
Cancel
Save