code: svg w&h change let go

This commit is contained in:
ShawnPhang 2023-11-14 11:50:35 +08:00
parent 43f228b059
commit 2fae61dceb
2 changed files with 4 additions and 26 deletions

View File

@ -3,7 +3,7 @@
* @Date: 2021-08-04 11:46:39 * @Date: 2021-08-04 11:46:39
* @Description: 原版movable插件 * @Description: 原版movable插件
* @LastEditors: ShawnPhang <https://m.palxp.cn> * @LastEditors: ShawnPhang <https://m.palxp.cn>
* @LastEditTime: 2023-10-15 23:31:22 * @LastEditTime: 2023-11-14 11:41:23
--> -->
<template> <template>
<div id="empty" class="moveable__remove-item zk-moveable-style"></div> <div id="empty" class="moveable__remove-item zk-moveable-style"></div>
@ -40,9 +40,9 @@ export default defineComponent({
case 'w-image': case 'w-image':
this.moveable.renderDirections = ['nw', 'n', 'ne', 'w', 'e', 'sw', 's', 'se'] this.moveable.renderDirections = ['nw', 'n', 'ne', 'w', 'e', 'sw', 's', 'se']
break break
// case 'w-svg': case 'w-svg':
// this.moveable.renderDirections = ['nw', 'n', 'ne', 'w', 'e', 'sw', 's', 'se'] this.moveable.renderDirections = ['nw', 'n', 'ne', 'w', 'e', 'sw', 's', 'se']
// break break
default: default:
this.moveable.renderDirections = ['nw', 'ne', 'sw', 'se'] this.moveable.renderDirections = ['nw', 'ne', 'sw', 'se']
break break

View File

@ -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, // 是否开启服务端字体压缩
}