Explorar o código

refactor(store): 修改字段名

18285564342 %!s(int64=2) %!d(string=hai) anos
pai
achega
761e93fef4
Modificáronse 1 ficheiros con 8 adicións e 1 borrados
  1. 8 1
      src/store/getters.js

+ 8 - 1
src/store/getters.js

@@ -1,5 +1,12 @@
+/*
+ * @Author: yizhiyang
+ * @LastEditors: yizhiyang
+ * @Date: 2023-03-30 23:20:41
+ * @LastEditTime: 2023-03-30 23:43:21
+ * @FilePath: \chelvc-custom\src\store\getters.js
+ */
 const getters = {
-  test1: state => state.user.test,
+  test: state => state.user.test,
 };
 
 export default getters;