zengh
2021-09-01 681263a3fd23548850266af7cdddca44d2a299d7
问题修复
3 files modified
16 ■■■■■ changed files
public/app/qfqk.apk patch | view | raw | blame | history
src/views/article/article.vue 12 ●●●●● patch | view | raw | blame | history
vue.config.js 4 ●●●● patch | view | raw | blame | history
public/app/qfqk.apk
Binary files differ
src/views/article/article.vue
@@ -209,7 +209,7 @@
              prop: "videoUrl",
              type: "upload",
              accept: "video/mp4",
              display: true,
              display: false,
              hide: true,
              span: 24,
              listType: "picture-img",
@@ -228,7 +228,8 @@
                //   lineHeights: ['1', '1.15', '1.6', '2', '2.5', '3']
                // },//wangEditor编辑的配置
                props: {
                  res: "data"
                  res: "data",
                  url: "link",
                },
              },
              hide: true,
@@ -251,7 +252,7 @@
              content.display = false;
              videoUrl.rules = [
                {
                  required: true,
                  required: false,
                  message: "请选择视频",
                  trigger: "blur",
                },
@@ -259,7 +260,7 @@
            } else {
              videoUrl.display = false;
              content.display = true;
              videoUrl.rules = [];
              videoUrl.rules = "";
            }
          }
        },
@@ -286,6 +287,9 @@
    },
    methods: {
      rowSave(row, done, loading) {
        if ( row.videoUrl.length == 0){
          row.videoUrl = "";
        }
        add(row).then(
          () => {
            this.onLoad(this.page);
vue.config.js
@@ -40,8 +40,8 @@
        // target: 'http://192.168.0.114:82/',
        // target: 'http://192.168.0.111:83/',
        //target: 'http://localhost:82/',
        //target: 'http://223.82.109.183:2082/api/',
        target: 'http://localhost:83/',
        target: 'http://223.82.109.183:2082/api/',
        //target: 'http://localhost:83/',
        //target: 'https://web.byisf.com/api/',
        //远程演示服务地址,可用于直接启动项目
        //target: 'https://saber.bladex.vip/api',