odc.xiaohui
2023-12-12 b5547c2bec2ecdbfe69e03a3b06f6926d6d94e66
修改视频专网内网
2个文件已修改
16 ■■■■ 已修改文件
src/views/system/oss/index.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vite.config.ts 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/oss/index.vue
@@ -102,7 +102,7 @@
    :close-on-click-modal = "false"
    :close-on-press-escape = "false"
    :show-close = "false"
    :before-close="handleClose"
  >
    <span @closePopup1="lookPawsd1()">
    <el-progress type="dashboard" :percentage="percentage2" :color="colors" />
@@ -127,7 +127,7 @@
const dialogVisible = ref(false)
const state = reactive({
      mytime:null,//定义定时器
      mytime:0,//定义定时器
    })
const percentage = ref(10)
const percentage2 = ref(0)
@@ -160,7 +160,7 @@
  console.log(new1,new2)
  if(new1 == 95){
    clearInterval(state.mytime);
    state.mytime = null;
    state.mytime = 0;
  }
})
@@ -349,10 +349,10 @@
  await childFile.value.handleCilck()
  dialog.visible = false;
}
const lookPawsd = async (row: OssVO) => {
const lookPawsd = async (row: any) => {
  console.log(row, row.ossId);
  clearInterval(state.mytime);
    state.mytime = null;
    state.mytime = 0;
  if(row == '123123'){
    dialogVisible.value = true;
    state.mytime = setInterval(() => {
@@ -362,7 +362,7 @@
  else{
    dialogVisible.value = false;
    clearInterval(state.mytime);
    state.mytime = null;
    state.mytime = 0;
    testtxt.value = row.password;
  titleDownload.value = '查看提取码'
  pasTxt.value = ''
vite.config.ts
@@ -26,9 +26,9 @@
      open: true,
      proxy: {
        [env.VITE_APP_BASE_API]: {
          // target: 'http://80.36.32.176:8080',
          // target: 'http://51.9.57.211:8080',
          target: 'http://80.36.32.176:8080',
          // target: 'http://51.9.57.211:8080',
          // target: 'http://80.36.32.176:8080',
          changeOrigin: true,
          rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')
        }