|
@@ -1,11 +1,9 @@
|
|
|
-// import '../css/bootstrap.less';
|
|
|
+import '../css/bootstrap.less';
|
|
|
// import 'bootstrap/dist/js/bootstrap.js';
|
|
|
import 'css/newMenu/public.css';
|
|
|
import 'css/newMenu/header.css'
|
|
|
import '../css/register.css';
|
|
|
import './public.js';
|
|
|
-import { DH_NOT_SUITABLE_GENERATOR } from 'constants';
|
|
|
-
|
|
|
|
|
|
$(function () {
|
|
|
//查看技淘网协议
|
|
@@ -155,8 +153,8 @@ $(function () {
|
|
|
})
|
|
|
}
|
|
|
//表单提交
|
|
|
- if(window.location.hash.indexOf('code')>-1){
|
|
|
- let code = (window.location.hash).split('=');
|
|
|
+ if(window.location.search.indexOf('code')>-1){
|
|
|
+ let code = (window.location.search).split('=');
|
|
|
$('#beInviteCode').val(code[1]);
|
|
|
}
|
|
|
$("#form_register").submit(function (e) {
|