no message

This commit is contained in:
小陌 2023-09-04 16:13:49 +08:00
parent 7fa1618e2c
commit 2601067ff5
5 changed files with 12 additions and 10 deletions

View File

@ -5,4 +5,7 @@ NODE_ENV = development
VUE_APP_TITLE = X-PHP
# 本地端口
VUE_APP_PORT = 2800
VUE_APP_PORT = 2800
# 静态地址
PUBLIC_PATH = ./

View File

@ -2,4 +2,7 @@
NODE_ENV = production
# 标题
VUE_APP_TITLE = X-PHP
VUE_APP_TITLE = X-PHP
# 静态地址
PUBLIC_PATH = https://cloud-x-php.oss-cn-beijing.aliyuncs.com/admin/

View File

@ -68,10 +68,10 @@
data() {
return {
init: {
language_url: 'tinymce/langs/zh_CN.js',
language_url: (process.env.PUBLIC_PATH === 'production' ? process.env.PUBLIC_PATH: '') + 'tinymce/langs/zh_CN.js',
language: 'zh_CN',
skin_url: 'tinymce/skins/ui/oxide',
content_css: "tinymce/skins/content/default/content.css",
skin_url: (process.env.PUBLIC_PATH === 'production' ? process.env.PUBLIC_PATH: '') + 'tinymce/skins/ui/oxide',
content_css: (process.env.PUBLIC_PATH === 'production' ? process.env.PUBLIC_PATH: '') + "tinymce/skins/content/default/content.css",
menubar: false,
statusbar: true,
plugins: this.plugins,

View File

@ -66,10 +66,6 @@
},
methods: {
handleClick(row, item){
console.log(item)
//
if (item.open && item.open.name && row[item.open.name]?.trim()) {
window.open(row[item.open.name], "_blank");

View File

@ -3,7 +3,7 @@ const {
} = require('@vue/cli-service')
module.exports = defineConfig({
//设置为空打包后不分更目录还是多级目录
publicPath: process.env.NODE_ENV === 'production' ? 'https://cloud-x-php.oss-cn-beijing.aliyuncs.com/admin/' : './',
publicPath: process.env.PUBLIC_PATH,
//build编译后存放静态文件的目录
assetsDir: "static",
// build编译后不生成资源MAP文件