yujialong 5 months ago
parent 4318f73bd3
commit f60718eae3
  1. 4
      public/index.html
  2. 3
      src/pages/article/add/index.vue
  3. 2
      src/setting.js

@ -5,8 +5,10 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
<meta name="referrer" content="no-referrer">
<link rel="icon" href="favcion.ico" type="image/x-icon"></link>
<link rel="shortcut icon" href="favicon.ico?v=20240710">
<script src="/styles/tinymce/tinymce.min.js"></script>
<title>粒子研究院</title>
<title>深圳综合粒子设施研究院</title>
</head>
<body>
<noscript>

@ -1143,7 +1143,7 @@ export default {
},
//
handleRemove (e, fileList) {
e.id ? this.$post(this.api.delContentFile, Util.rsa(e.id)).then(res => {
e.id ? this.$post(`${this.api.delContentFile}?id=${e.id}`).then(res => {
this.form.fileList = fileList
}).catch(res => { }) : (this.form.fileList = fileList)
},
@ -1158,7 +1158,6 @@ export default {
},
//
fileBeforeUpload (file, type) {
console.log("🚀 ~ file: index.vue:1484 ~ fileBeforeUpload ~ file:", file)
if (type) {
const { size, name } = file
const ext = name.substring(name.lastIndexOf('.') + 1)

@ -8,7 +8,7 @@ const Setting = {
/**
* 基础配置
* */
titleSuffix: '粒子研究院', // 网页标题的后缀
titleSuffix: '深圳综合粒子设施研究院', // 网页标题的后缀
routerMode: "hash", // 路由模式,可选值为 history 或 hash
showProgressBar: true, // 页面切换时,是否显示模拟的进度条
apiBaseURL: host, // 接口请求地址

Loading…
Cancel
Save