mirror of
https://github.com/palxiao/poster-design.git
synced 2025-06-20 15:42:53 +08:00
code: svg w&h change let go
This commit is contained in:
parent
43f228b059
commit
2fae61dceb
@ -3,7 +3,7 @@
|
||||
* @Date: 2021-08-04 11:46:39
|
||||
* @Description: 原版movable插件
|
||||
* @LastEditors: ShawnPhang <https://m.palxp.cn>
|
||||
* @LastEditTime: 2023-10-15 23:31:22
|
||||
* @LastEditTime: 2023-11-14 11:41:23
|
||||
-->
|
||||
<template>
|
||||
<div id="empty" class="moveable__remove-item zk-moveable-style"></div>
|
||||
@ -40,9 +40,9 @@ export default defineComponent({
|
||||
case 'w-image':
|
||||
this.moveable.renderDirections = ['nw', 'n', 'ne', 'w', 'e', 'sw', 's', 'se']
|
||||
break
|
||||
// case 'w-svg':
|
||||
// this.moveable.renderDirections = ['nw', 'n', 'ne', 'w', 'e', 'sw', 's', 'se']
|
||||
// break
|
||||
case 'w-svg':
|
||||
this.moveable.renderDirections = ['nw', 'n', 'ne', 'w', 'e', 'sw', 's', 'se']
|
||||
break
|
||||
default:
|
||||
this.moveable.renderDirections = ['nw', 'ne', 'sw', 'se']
|
||||
break
|
||||
|
@ -1,22 +0,0 @@
|
||||
// const prefix = import.meta.env
|
||||
const prefix = process.env
|
||||
|
||||
const isDev = prefix.NODE_ENV === 'development'
|
||||
import { version } from '../package.json'
|
||||
|
||||
export default {
|
||||
isDev,
|
||||
BASE_URL: isDev ? '/' : './',
|
||||
VERSION: version,
|
||||
APP_NAME: '迅排设计',
|
||||
COPYRIGHT: 'ShawnPhang - Palxp.cn',
|
||||
// API_URL: isDev ? 'http://localhost:9998' : '${API}',
|
||||
API_URL: 'https://palxp.cn:8887', // 服务端地址
|
||||
SCREEN_URL: isDev ? 'http://localhost:7001' : '#{SCREEN_URL}', // 截图服务地址
|
||||
IMG_URL: 'https://store.palxp.com/', // 七牛云资源地址
|
||||
// ICONFONT_URL: '//at.alicdn.com/t/font_3223711_74mlzj4jdue.css',
|
||||
ICONFONT_URL: '//at.alicdn.com/t/font_2717063_ypy8vprc3b.css?display=swap',
|
||||
ICONFONT_EXTRA: '//at.alicdn.com/t/c/font_3228074_zubqmza1sdk.css',
|
||||
QINIUYUN_PLUGIN: 'https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/qiniu-js/2.5.5/qiniu.min.js',
|
||||
supportSubFont: true, // 是否开启服务端字体压缩
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user