b972db24 by lihua

合约详情页面不提示尚未保存

1 parent 742f7c4a
......@@ -106,12 +106,16 @@ const routes: RouteRecordRaw[] = [
},
beforeEnter: (to, from) => {
if (to.query.type == 'consult') {
to.meta.editPage = true;
to.meta.title = `合约协商-${to.query.name}`;
} else if (to.query.type == 'sign') {
to.meta.editPage = true;
to.meta.title = `合约签署-${to.query.name}`;
} else if (to.query.type == 'reject') {
to.meta.editPage = true;
to.meta.title = `合约解除-${to.query.name}`;
} else {
to.meta.editPage = false;
to.meta.title = `合约详情-${to.query.name}`;
}
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!