diff --git a/企业级管理系统/web/admin_system/src/store/index.js b/企业级管理系统/web/admin_system/src/store/index.js
index 7f5b89c..86bba9c 100644
--- a/企业级管理系统/web/admin_system/src/store/index.js
+++ b/企业级管理系统/web/admin_system/src/store/index.js
@@ -1,14 +1,18 @@
-import { createStore } from 'vuex'
+/*
+ * @Author: Kane
+ * @Date: 2022-12-14 15:12:46
+ * @LastEditors: Kane
+ * @LastEditTime: 2023-01-08 11:07:02
+ * @FilePath: \admin_system\src\store\index.js
+ * @Description:
+ *
+ * Copyright (c) ${2022} by Kane, All Rights Reserved.
+ */
+import { createStore } from 'vuex';
+import app from "./modules/app";
export default createStore({
- state: {
- },
- getters: {
- },
- mutations: {
- },
- actions: {
- },
modules: {
+ app,
}
-})
+});
diff --git a/企业级管理系统/web/admin_system/src/store/modules/app.js b/企业级管理系统/web/admin_system/src/store/modules/app.js
index 2ee7d77..d2ab773 100644
--- a/企业级管理系统/web/admin_system/src/store/modules/app.js
+++ b/企业级管理系统/web/admin_system/src/store/modules/app.js
@@ -2,13 +2,15 @@
* @Author: Kane
* @Date: 2023-01-07 22:25:43
* @LastEditors: Kane
- * @LastEditTime: 2023-01-07 22:26:51
+ * @LastEditTime: 2023-01-08 11:11:07
* @FilePath: \admin_system\src\store\modules\app.js
* @Description: app模块
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
*/
-const state = {};
+const state = {
+ count: 100,
+};
const getters = {};
const mutations = {};
const actions = {};
diff --git a/企业级管理系统/web/admin_system/src/views/news/NewsEdit.vue b/企业级管理系统/web/admin_system/src/views/news/NewsEdit.vue
index 07980ff..86e5361 100644
--- a/企业级管理系统/web/admin_system/src/views/news/NewsEdit.vue
+++ b/企业级管理系统/web/admin_system/src/views/news/NewsEdit.vue
@@ -2,20 +2,31 @@
* @Author: Kane
* @Date: 2023-01-06 19:05:53
* @LastEditors: Kane
- * @LastEditTime: 2023-01-07 17:12:25
+ * @LastEditTime: 2023-01-08 11:18:12
* @FilePath: \admin_system\src\views\news\NewsEdit.vue
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
-->
- 信息编辑
+ 信息编辑:{{ getCount }}
+