浏览代码

verifications templates working properly

pull/1/head
Jonathan Cobb 4 年前
父节点
当前提交
47b55a7dc7
共有 4 个文件被更改,包括 2 次插入3 次删除
  1. +0
    -1
      src/_helpers/api-util.js
  2. +1
    -0
      src/_helpers/router.js
  3. +0
    -1
      src/_store/account.module.js
  4. +1
    -1
      src/account/profile/PolicyPage.vue

+ 0
- 1
src/_helpers/api-util.js 查看文件

@@ -29,7 +29,6 @@ export function getWithAuth() {
}

function entityWithAuth(method, obj) {
console.log("entityWithAuth("+method+"): obj="+obj+" (type="+(typeof obj)+")");
if (typeof obj === 'undefined' || obj === null || obj === 'undefined') {
return {
method: method,


+ 1
- 0
src/_helpers/router.js 查看文件

@@ -62,6 +62,7 @@ export const router = new Router({
{ path: '/networks/:uuid', component: NetworkPage }
]
},
{ path: '/action', component: ActionPage },
{ path: '/register', component: RegisterPage },
{ path: '/login', component: LoginPage },
{ path: '/logout', component: LoginPage },


+ 0
- 1
src/_store/account.module.js 查看文件

@@ -17,7 +17,6 @@ const actions = {
user => {
commit('loginSuccess', user);
const landing = getLandingPage();
console.log('getLandingPage returned: '+JSON.stringify(landing));
if (landing === null) {
router.push('/');
} else {


+ 1
- 1
src/account/profile/PolicyPage.vue 查看文件

@@ -532,7 +532,7 @@
},
created () {
this.getPolicyByUuid({uuid: this.currentUser.uuid, messages: this.messages, errors: this.errors});
console.log('PolicyPage.created: $route.params='+JSON.stringify(this.$route.query));
// console.log('PolicyPage.created: $route.params='+JSON.stringify(this.$route.query));
if (this.$route.query.action) {
this.inboundAction = {
actionType: this.$route.query.action


正在加载...
取消
保存