Browse Source

修改密码逻辑

lex 1 năm trước cách đây
mục cha
commit
cdbbeb03dd

+ 2 - 1
src/views/login/index.vue

@@ -125,6 +125,7 @@ let formInline = reactive({
 })
 const formInlineHistory = storage.get('userInfo')
 if (formInlineHistory) {
+  console.log(formInlineHistory)
   formInline = reactive({ ...JSON.parse(formInlineHistory) })
 }
 const rules = {
@@ -160,7 +161,7 @@ const handleSubmit = (e: any) => {
         message.destroyAll()
         if (some.code == ResultEnum.SUCCESS) {
           //  判断是否勾选自动登录
-          if (autoLogin) {
+          if (autoLogin.value) {
             storage.set('userInfo', JSON.stringify(formInline))
           } else {
             storage.remove('userInfo')

+ 1 - 0
src/views/music-library/music-sheet/component/music-list.tsx

@@ -172,6 +172,7 @@ export default defineComponent({
                   type="primary"
                   size="small"
                   text
+                  v-auth="musicSheetApplicationExtend/save1752901206883221506"
                   onClick={() => {
                     state.showUseProject = true
                     state.showUseProjectId = row.id