@@ -211,6 +211,7 @@ function routeExists(array, path, parentPath) {
}
return false
+
// 在你的路由配置文件中
router.afterEach((to, from) => {
var sign = routeExists(backStageManageRouterItem, to.path)
@@ -49,7 +49,7 @@
</div>
<el-dialog :title="title" :visible.sync="visible" width="500px" :before-close="close">
<el-form v-if="visible" :model="ruleForm" :rules="rules" ref="ruleForm" label-width="80px" label-position="left">
-
<el-form-item label="应用名称" prop="name">
<el-input v-model="ruleForm.name" placeholder="请输入应用名称"></el-input>
</el-form-item>