From c5ccbe9e87718b74031fffb4772c8d3cb20fd54b Mon Sep 17 00:00:00 2001 From: shawnzhang Date: Wed, 27 Feb 2019 08:46:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=89reademe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 00000000..969d3471 --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +# ERP +##work for nwow +###ERP project +####2019/2/12 add topmenu +#### 2019/2/26 遇到的一些问题以及解决方案 +#####tagsview的页面关闭操作 +```const view = { path: '/EmployeeInformation/NewEmployeeInformation', name: 'NewEmployeeInformation', fullPath: '/EmployeeInformation/NewEmployeeInformation', title: 'NewEmployeeInformation' } this.$store.dispatch('delView', view).then(({ visitedViews }) => {})``` + +#####拼接json 方法 +```extend(jsonbject1, jsonbject2) { + var resultJsonObject = {} + for (const attr in jsonbject1) { + resultJsonObject[attr] = jsonbject1[attr] + } + for (const attr in jsonbject2) { + resultJsonObject[attr] = jsonbject2[attr] + } + return resultJsonObject + }``` \ No newline at end of file