diff --git a/src/router/index.js b/src/router/index.js
index 7e11391..ef198ed 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -540,6 +540,31 @@ export const constantRoutes = [
],
},
+ //内容管理,没有子菜单
+ // {
+ // path: '/content',
+ // name: "content",
+ // meta: {
+ // title: "内容管理",
+ // icon: "education",
+ // },
+ // component: Layout,
+ // children: [
+ // {
+ // path: 'content/index',
+ // component: () => import('@/views/content/index'),
+ // name: 'content',
+ // hidden: false,
+ // meta: {
+ // title: "内容管理",
+ // icon: "",
+ // noCache: false,
+ // link: null,
+ // },
+ // },
+ // ],
+ // }
+
]
// 动态路由,基于用户权限动态去加载
diff --git a/src/views/brand/management/index.vue b/src/views/brand/management/index.vue
index 675e24e..76feb21 100644
--- a/src/views/brand/management/index.vue
+++ b/src/views/brand/management/index.vue
@@ -124,6 +124,9 @@
+
+
+
{
//处理dialogForm.files
dialogForm.files.forEach((item, index) => {
+ //判断item不存在存在fileName这个属性的时候,将item.name赋给item.fileName,否则不做处理
item.fileName = item.name;
- item.fileUrl = item.response.data.url;
+ if (item.hasOwnProperty('response')) {
+ item.fileUrl = item.response.data.url;
+ }
+ // item.fileName = item.name;
+ // item.fileUrl = item.response.data.url;
})
console.log('dialogForm.files',dialogForm.files);
@@ -456,6 +469,7 @@ const resetDlg= () => {
Object.assign(dialogForm, { // 保持响应性,手动清空字段
id: "",
title: "",
+ descStr: "",
files: [],
code: ""
});
diff --git a/src/views/content/index.vue b/src/views/content/index.vue
new file mode 100644
index 0000000..45d7f68
--- /dev/null
+++ b/src/views/content/index.vue
@@ -0,0 +1,5 @@
+
+
+ 待开发
+
+
\ No newline at end of file