litian
2024-04-12 03f061e0801130aa5b3aa2ab193f71ce132164d1
packageDomain/pages/resourceDetails/myVideo/index.js
@@ -10,7 +10,7 @@
    noteList: [],
    navBarHeight: '',
    barHeight: '',
    flag: false, // 输入框是否显示
    flag: true, // 输入框是否显示
    tabPanelstyle: 'display:flex;justify-content:center;align-items:center;',
    activeValues: [0],
    dialogKey: false,
@@ -179,10 +179,10 @@
  showDialog(e) {
    this.setData({
      submitTitle: this.data.bookName,
      dialogKey: true,
      textvalue: ''
      dialogKey: true,
      textvalue: '',
      submitTitle: this.data.titleName
    });
  },
@@ -337,7 +337,7 @@
  // 标题输入框值
  inputChange(e) {
    this.setData({
      titleName: e.detail.value
      submitTitle: e.detail.value
    })
  },
@@ -347,7 +347,7 @@
        icon: 'error',
        title: '请填写笔记内容',
      })
    } else if (!this.data.titleName) {
    } else if (!this.data.submitTitle) {
      return wx.showToast({
        icon: 'error',
        title: '请填写笔记标题',
@@ -430,11 +430,9 @@
      submitType: "edit",
      textvalue: note.content,
      submitTitle: note.name,
      noteId: note.id,
      dialogKey: true,
    })
    console.log(this.data.submitTitle);
    // this.showDialog()
  },
@@ -519,7 +517,7 @@
      return wx.getUserProfile({
        desc: '用户登录',
        success: (res) => {
          // console.log(res);
          console.log(res);
        }
      })
    }