Pārlūkot izejas kodu

Merge branch 'iteration-accompany' into test

lex 1 gadu atpakaļ
vecāks
revīzija
a7b35864ad

+ 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

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