permission.vue 1.2 KB
Newer Older
study夏羽's avatar
study夏羽 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
<template>
	<view class="page">
		<view class="tips">
			<text>
				DB Schema的permission规则,分为两部分,一边是对操作数据的指定,一边是对角色的指定,规则中对两者进行关联,匹配则校验通过。\n
			</text>
			<text>权限中的角色基于uni-id </text>
			<j-link text="详情" url="https://uniapp.dcloud.io/uniCloud/uni-id"></j-link>
		</view>
		<uni-list-item class="table-item" title="表级-简单表达式权限控制" to="../permission-table-simple/permission-table-simple" link></uni-list-item>
		<uni-list-item class="table-item" title="表级-组合表达式权限控制" to="../permission-table-compound/permission-table-compound" link></uni-list-item>
		<uni-list-item class="table-item" title="字段级-简单表达式权限控制" to="../permission-field-simple/permission-field-simple" link></uni-list-item>
		<uni-list-item class="table-item" title="组合表与字段级权限控制示例项目" to="../permission-demo/readme" link></uni-list-item>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style>
.tips {
	color: #999999;
	font-size: 14px;
	padding: 10px 20px;
}
</style>