[AppleScript] 纯文本查看 复制代码
<router‐link class="mui‐tab‐item" :to="{path:'/cms/page/add/',query:{
page: this.params.page,
siteId: this.params.siteId}}">
<el‐button type="primary" size="small">新增页面</el‐button>
</router‐link>
[AppleScript] 纯文本查看 复制代码
go_back(){ this.$router.push({ path: '/cms/page/list', query: { page: this.$route.query.page, siteId:this.$route.query.siteId } }) }
[AppleScript] 纯文本查看 复制代码
pageFormRules: {
siteId:[
{required: true, message: '请选择站点', trigger: 'blur'}
], templateId:[
{required: true, message: '请选择模版', trigger: 'blur'}
],
pageName: [
{required: true, message: '请输入页面名称', trigger: 'blur'}
],
pageWebPath: [
{required: true, message: '请输入访问路径', trigger: 'blur'}
], pagePhysicalPath: [
{required: true, message: '请输入物理路径', trigger: 'blur'}
]
}