feat: 生产环境路径修改
This commit is contained in:
parent
324a241319
commit
8b127b10cf
@ -2,6 +2,6 @@
|
|||||||
VITE_USER_NODE_ENV = production
|
VITE_USER_NODE_ENV = production
|
||||||
|
|
||||||
# 打包路径 (就是网站前缀, 例如部署到 http://dcodes.gitee.io/SnowAdmin/ 域名下, 就需要填写 /SnowAdmin/), 一般填一个斜杠 /
|
# 打包路径 (就是网站前缀, 例如部署到 http://dcodes.gitee.io/SnowAdmin/ 域名下, 就需要填写 /SnowAdmin/), 一般填一个斜杠 /
|
||||||
VITE_PUBLIC_PATH = '/SnowAdmin/'
|
VITE_PUBLIC_PATH = '/'
|
||||||
|
|
||||||
VITE_GLOB_APP_TITLE = SnowAdmin
|
VITE_GLOB_APP_TITLE = SnowAdmin
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import { Directive } from "vue";
|
import { Directive } from "vue";
|
||||||
|
|
||||||
const custom: Directive = {
|
const custom: Directive = {
|
||||||
mounted(el, binding, vnode) {
|
mounted(el, binding) {
|
||||||
el.__onClick__ = () => {
|
el.__onClick__ = () => {
|
||||||
let { goodsId, event } = binding.value;
|
let { goodsId, event } = binding.value;
|
||||||
event(goodsId);
|
event(goodsId);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user