xiangpei
2024-05-16 66471b3c0639ace8ee715b7630b0da60a5bc3632
学习文件
2个文件已修改
5 ■■■■■ 已修改文件
src/views/onlineStudy/file.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/onlineStudy/file.vue
@@ -199,6 +199,7 @@
    handlerSubmit() {
      this.$refs['form'].validate((valid) => {
        if (valid) {
          this.form.contentUrl = this.form.contentUrl[0]
          if (this.form.id) {
            OnlineStudyAPI.update(this.form).then(res => {
              if (res.code === 1) {
vue.config.js
@@ -19,8 +19,8 @@
    hotOnly: false,
    proxy: {
      '/api': {
        target: 'http://192.168.3.87:8085',
        // target: 'http://localhost:8085',
        // target: 'http://192.168.3.87:8085',
        target: 'http://localhost:8085',
        changeOrigin: true
      }
    }