引入vue

This commit is contained in:
yubao
2017-09-03 23:21:49 +08:00
parent 3184479120
commit f66e8f1d1e
6 changed files with 10127 additions and 8 deletions

View File

@@ -0,0 +1,25 @@
// ***********************************************************************
// Assembly : OpenAuth.Mvc
// Author : yubaolee
// Created : 09-04-2016
//
// Last Modified By : yubaolee
// Last Modified On : 09-04-2016
// ***********************************************************************
// <copyright file="queryString.js" company="www.cnblogs.com/yubaolee">
// 版权所有(C) 2015
// </copyright>
// <summary>解析URL中的参数</summary>
// ***********************************************************************
layui.define("jquery",function(exports){
var jQuery=layui.jquery;
(function ($) {
$.getUrlParam = function (name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
var r = window.location.search.substr(1).match(reg);
if (r != null) return unescape(r[2]); return null;
}
})(jQuery);
exports('queryString');
});